summary refs log tree commit diff
path: root/compiler/rustc_lint/src/errors.rs
diff options
context:
space:
mode:
authorRejyr <jerrylwang123@gmail.com>2022-08-20 12:30:49 -0400
committerRejyr <jerrylwang123@gmail.com>2022-08-22 08:24:14 -0400
commitdbe838079ca9ec3ea76e196cccd68754fe1bbd70 (patch)
treeee09fdb8b729890e5628e58258f4671e419b8396 /compiler/rustc_lint/src/errors.rs
parent5d302d11483a7313742d24e024928a37268ed4bd (diff)
downloadrust-dbe838079ca9ec3ea76e196cccd68754fe1bbd70.tar.gz
rust-dbe838079ca9ec3ea76e196cccd68754fe1bbd70.zip
rename: `UnknownTool` to `UnknownToolInScopedLint`
Diffstat (limited to 'compiler/rustc_lint/src/errors.rs')
-rw-r--r--compiler/rustc_lint/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/errors.rs b/compiler/rustc_lint/src/errors.rs
index 569f68bd5e5..0f8b8e174d8 100644
--- a/compiler/rustc_lint/src/errors.rs
+++ b/compiler/rustc_lint/src/errors.rs
@@ -61,8 +61,8 @@ pub enum MalformedAttributeSub {
 }
 
 #[derive(SessionDiagnostic)]
-#[error(lint::unknown_tool, code = "E0710")]
-pub struct UnknownTool {
+#[error(lint::unknown_tool_in_scoped_lint, code = "E0710")]
+pub struct UnknownToolInScopedLint {
     #[primary_span]
     pub span: Option<Span>,
     pub tool_name: Symbol,