We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_Self
TraitName
1 parent 303c4ec commit f3bad7fCopy full SHA for f3bad7f
tests/ui/duplicated_attributes.rs
@@ -21,7 +21,7 @@ fn foo() {}
21
fn bar() {}
22
23
// No warning:
24
-#[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"))]
25
trait Abc {}
26
27
#[proc_macro_attr::duplicated_attr()] // Should not warn!
0 commit comments