about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authormejrs <59372212+mejrs@users.noreply.github.com>2025-05-17 15:15:53 +0200
committermejrs <59372212+mejrs@users.noreply.github.com>2025-05-17 15:15:53 +0200
commit9ffd0bf75a30b4fce1ffa35732666a37a7e9a736 (patch)
treef4b1ccb46d46ac9325d9702e59fadcf365dbdc6c /src/tools
parentc9b6ccc11ce82c753702716f57f786acf322e64f (diff)
do away with `_Self` and `TraitName` and check generic params for rustc_on_unimplemented
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/clippy/tests/ui/duplicated_attributes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/duplicated_attributes.rs b/src/tools/clippy/tests/ui/duplicated_attributes.rs
index 874f5d22075..3ca91d6f182 100644
--- a/src/tools/clippy/tests/ui/duplicated_attributes.rs
+++ b/src/tools/clippy/tests/ui/duplicated_attributes.rs
@@ -21,7 +21,7 @@ fn foo() {}
 fn bar() {}
 
 // No warning:
-#[rustc_on_unimplemented(on(_Self = "&str", label = "`a"), on(_Self = "alloc::string::String", label = "a"))]
+#[rustc_on_unimplemented(on(Self = "&str", label = "`a"), on(Self = "alloc::string::String", label = "a"))]
 trait Abc {}
 
 #[proc_macro_attr::duplicated_attr()] // Should not warn!