Auto merge of #89395 - In-line:remove_visible_path_from_allowed_deprecated_lint, r=jyn514
Remove visible path calculation from allowed deprecation lint
This commit is contained in:
commit
4e4942dfa6
4 changed files with 78 additions and 47 deletions
|
@ -1137,7 +1137,7 @@ impl<'a> Resolver<'a> {
|
|||
}
|
||||
if let Some(depr) = &ext.deprecation {
|
||||
let path = pprust::path_to_string(&path);
|
||||
let (message, lint) = stability::deprecation_message(depr, "macro", &path);
|
||||
let (message, lint) = stability::deprecation_message_and_lint(depr, "macro", &path);
|
||||
stability::early_report_deprecation(
|
||||
&mut self.lint_buffer,
|
||||
&message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue