diff options
| author | Alik Aslanyan <inline0@protonmail.com> | 2021-09-30 15:15:10 +0400 |
|---|---|---|
| committer | Alik Aslanyan <inline0@protonmail.com> | 2021-09-30 15:15:10 +0400 |
| commit | d98ac573a4d6d81a47d708daf85930462cecfbc2 (patch) | |
| tree | ce432cfa455ff4e20720d3b78a77733ebabe761a /compiler/rustc_resolve/src | |
| parent | 11491938f80988c7261a1179cf71a25c379c8783 (diff) | |
| download | rust-d98ac573a4d6d81a47d708daf85930462cecfbc2.tar.gz rust-d98ac573a4d6d81a47d708daf85930462cecfbc2.zip | |
Remove visible path calculation from allowed deprecation lint
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/macros.rs | 2 |
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, |
