]> git.lizzy.rs Git - rust.git/blob - src/test/ui/underscore-lifetime/where-clauses.rs
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
[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() { }