about summary refs log tree commit diff
path: root/tests/ui/rust-2021/future-prelude-collision-generic-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rust-2021/future-prelude-collision-generic-trait.rs')
-rw-r--r--tests/ui/rust-2021/future-prelude-collision-generic-trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/rust-2021/future-prelude-collision-generic-trait.rs b/tests/ui/rust-2021/future-prelude-collision-generic-trait.rs
index ce7dd2fdac7..4e4d5d0d667 100644
--- a/tests/ui/rust-2021/future-prelude-collision-generic-trait.rs
+++ b/tests/ui/rust-2021/future-prelude-collision-generic-trait.rs
@@ -23,7 +23,7 @@ where
     fn try_into(&self) -> Result<&U, i32> {
         U::try_from(self)
         //~^ WARNING trait-associated function `try_from` will become ambiguous in Rust 2021
-        //~| this is accepted in the current edition (Rust 2018)
+        //~| WARN this is accepted in the current edition (Rust 2018)
     }
 }