]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/underscore-lifetime/where-clause-trait-impl-region.rs
Change some tests to use the shorter comment style
[rust.git] / src / test / ui / underscore-lifetime / where-clause-trait-impl-region.rs
index f2d483e66e0138fef67cca860b28ed3bfcbb9979..09e5bbd846d6c9cfe42d157541db630b58b7a48c 100644 (file)
@@ -9,8 +9,7 @@ trait Foo { }
 impl<T> Foo for Vec<T>
 where
     T: WithType<&u32>
-//[rust2015]~^ ERROR `&` without an explicit lifetime name cannot be used here
-//[rust2018]~^^ ERROR `&` without an explicit lifetime name cannot be used here
+//[rust2015,rust2018]~^ ERROR `&` without an explicit lifetime name cannot be used here
 { }
 
 fn main() {}