]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/attribute-with-no-generics-in-parameter-list.stderr
Auto merge of #65421 - estebank:variants, r=petrochenkov
[rust.git] / src / test / ui / attribute-with-no-generics-in-parameter-list.stderr
index f08f107a62ffee8483f2087e5c646ea0e02a28aa..4c5964715db7ea01bb470397898d1b2f7500c1ec 100644 (file)
@@ -1,7 +1,7 @@
 error: attribute without generic parameters
   --> $DIR/attribute-with-no-generics-in-parameter-list.rs:1:8
    |
-LL | fn foo<#[attr]>() {} //~ ERROR attribute without generic parameters
+LL | fn foo<#[attr]>() {}
    |        ^^^^^^^ attributes are only permitted when preceding parameters
 
 error: aborting due to previous error