about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-01 06:19:52 +0000
committerbors <bors@rust-lang.org>2021-10-01 06:19:52 +0000
commit4e4942dfa66667c0addfff8e0882a59b035d45ca (patch)
tree2a9a16d37e122d9ec50b5888e80092786623b806 /compiler/rustc_resolve/src
parent598d89bf142823b5d84e2eb0f0f9e418ee966a4b (diff)
parentd98ac573a4d6d81a47d708daf85930462cecfbc2 (diff)
downloadrust-4e4942dfa66667c0addfff8e0882a59b035d45ca.tar.gz
rust-4e4942dfa66667c0addfff8e0882a59b035d45ca.zip
Auto merge of #89395 - In-line:remove_visible_path_from_allowed_deprecated_lint, r=jyn514
Remove visible path calculation from allowed deprecation lint
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/macros.rs b/compiler/rustc_resolve/src/macros.rs
index f15cf4bbc3a..4f6e23d8f84 100644
--- a/compiler/rustc_resolve/src/macros.rs
+++ b/compiler/rustc_resolve/src/macros.rs
@@ -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,