]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rs
add more to the ERROR messages
[rust.git] / src / test / ui / underscore-lifetime / where-clause-inherent-impl-underscore.rs
index 55aecbc9fcffe2fd0e126d4ce49a6a9c9d1b701d..b50cce335bd8c9808104eb9b4c5fd98540bdba86 100644 (file)
@@ -11,8 +11,8 @@ struct Foo<T> {
 impl<T> Foo<T>
 where
     T: WithRegion<'_>
-//[rust2015]~^ ERROR
-//[rust2018]~^^ ERROR
+//[rust2015]~^ ERROR `'_` cannot be used here
+//[rust2018]~^^ ERROR `'_` cannot be used here
 { }
 
 fn main() {}