minor: hover_simple refactor

This commit is contained in:
DaniPopes 2023-09-24 22:47:29 +02:00
parent e5e937ae5e
commit 588c7d9182
No known key found for this signature in database
GPG key ID: 0F09640DDB7AC692
3 changed files with 18 additions and 19 deletions

View file

@ -257,6 +257,7 @@ pub trait ProcMacroExpander: fmt::Debug + Send + Sync + RefUnwindSafe {
) -> Result<Subtree, ProcMacroExpansionError>;
}
#[derive(Debug)]
pub enum ProcMacroExpansionError {
Panic(String),
/// Things like "proc macro server was killed by OOM".