]> git.lizzy.rs Git - rust.git/blob - src/test/ui/underscore-lifetime/where-clauses.rs
fix error messages
[rust.git] / src / test / ui / underscore-lifetime / where-clauses.rs
1 trait Foo<'a> {}
2
3 impl<'b: '_> Foo<'b> for i32 {} //~ ERROR `'_` cannot be used here
4
5 impl<T: '_> Foo<'static> for Vec<T> {} //~ ERROR `'_` cannot be used here
6
7 fn main() { }