diff options
Diffstat (limited to 'tests/ui/parser/public-instead-of-pub.fixed')
| -rw-r--r-- | tests/ui/parser/public-instead-of-pub.fixed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/parser/public-instead-of-pub.fixed b/tests/ui/parser/public-instead-of-pub.fixed index 01db609990e..69203c4afcf 100644 --- a/tests/ui/parser/public-instead-of-pub.fixed +++ b/tests/ui/parser/public-instead-of-pub.fixed @@ -1,6 +1,6 @@ // Checks what happens when `public` is used instead of the correct, `pub` -// edition:2018 -// run-rustfix +//@ edition:2018 +//@ run-rustfix pub struct X; //~^ ERROR expected one of `!` or `::`, found keyword `struct` //~^^ HELP write `pub` instead of `public` to make the item public |
