mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Mark HasSource::source_old as deprecated but allow at all call sites
This commit is contained in:
parent
2de2b1eca3
commit
ea4708c444
15 changed files with 35 additions and 4 deletions
|
@ -96,6 +96,7 @@ impl<'a> MacroRender<'a> {
|
|||
}
|
||||
|
||||
fn detail(&self) -> String {
|
||||
#[allow(deprecated)]
|
||||
let ast_node = self.macro_.source_old(self.ctx.db()).value;
|
||||
macro_label(&ast_node)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue