mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Fix proc-macro-test-impl building without any proc-macros
This commit is contained in:
parent
9197b541c2
commit
ca957f4f82
4 changed files with 6 additions and 10 deletions
|
@ -97,7 +97,7 @@ impl ProcMacros {
|
|||
}
|
||||
}
|
||||
|
||||
Err(bridge::PanicMessage::String("Nothing to expand".to_string()).into())
|
||||
Err(bridge::PanicMessage::String(format!("proc-macro `{macro_name}` is missing")).into())
|
||||
}
|
||||
|
||||
pub(crate) fn list_macros(&self) -> Vec<(String, ProcMacroKind)> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue