Mark HasSource::source_old as deprecated but allow at all call sites

This commit is contained in:
Nick Spain 2021-01-01 13:50:50 +11:00
parent 2de2b1eca3
commit ea4708c444
15 changed files with 35 additions and 4 deletions

View file

@ -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)
}