mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
minor: hover_simple refactor
This commit is contained in:
parent
e5e937ae5e
commit
588c7d9182
3 changed files with 18 additions and 19 deletions
|
@ -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".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue