diff options
Diffstat (limited to 'tests/ui/attributes/rustc_confusables.rs')
| -rw-r--r-- | tests/ui/attributes/rustc_confusables.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/attributes/rustc_confusables.rs b/tests/ui/attributes/rustc_confusables.rs index a8095936cff..91c66a75cc3 100644 --- a/tests/ui/attributes/rustc_confusables.rs +++ b/tests/ui/attributes/rustc_confusables.rs @@ -43,5 +43,6 @@ impl Bar { } #[rustc_confusables("blah")] -//~^ ERROR attribute should be applied to an inherent method +//~^ ERROR attribute cannot be used on +//~| HELP can only be applied to fn not_inherent_impl_method() {} |
