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