diff options
| author | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-05-17 15:15:53 +0200 |
|---|---|---|
| committer | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-05-17 15:15:53 +0200 |
| commit | f3bad7f4ddf9bf0166037b333b0bf830aa641273 (patch) | |
| tree | d8344118dc77744005dea7aac5b3a6c1653c270a | |
| parent | 303c4ecfdd0c571d80c5bc151243aee1900cebfd (diff) | |
| download | rust-f3bad7f4ddf9bf0166037b333b0bf830aa641273.tar.gz rust-f3bad7f4ddf9bf0166037b333b0bf830aa641273.zip | |
do away with `_Self` and `TraitName` and check generic params for rustc_on_unimplemented
| -rw-r--r-- | tests/ui/duplicated_attributes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/duplicated_attributes.rs b/tests/ui/duplicated_attributes.rs index 874f5d22075..3ca91d6f182 100644 --- a/tests/ui/duplicated_attributes.rs +++ b/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! |
