diff --git a/tests/ui/coverage-attr/allowed-positions.rs b/tests/ui/coverage-attr/allowed-positions.rs index d4345c8d4432b..f1169fa657006 100644 --- a/tests/ui/coverage-attr/allowed-positions.rs +++ b/tests/ui/coverage-attr/allowed-positions.rs @@ -11,7 +11,7 @@ #[coverage(off)] mod submod {} -#[coverage(off)] //~ ERROR [E0788] +#[coverage(off)] //~ ERROR coverage attribute not allowed here [E0788] type MyTypeAlias = (); #[coverage(off)] //~ ERROR [E0788]