diff options
Diffstat (limited to 'tests/ui/rust-2021/inherent-dyn-collision.rs')
| -rw-r--r-- | tests/ui/rust-2021/inherent-dyn-collision.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/rust-2021/inherent-dyn-collision.rs b/tests/ui/rust-2021/inherent-dyn-collision.rs index a3893c033e9..0bcb34e5708 100644 --- a/tests/ui/rust-2021/inherent-dyn-collision.rs +++ b/tests/ui/rust-2021/inherent-dyn-collision.rs @@ -1,9 +1,9 @@ // Test case where the method we want is an inherent method on a // dyn Trait. In that case, the fix is to insert `*` on the receiver. // -// check-pass -// run-rustfix -// edition:2018 +//@ check-pass +//@ run-rustfix +//@ edition:2018 #![warn(rust_2021_prelude_collisions)] |
