2018-10-11 14:51:44 -05:00
|
|
|
trait Foo<'a> {}
|
2018-10-19 15:39:41 -05:00
|
|
|
|
|
|
|
impl<'b: '_> Foo<'b> for i32 {} //~ ERROR `'_` cannot be used here
|
|
|
|
|
|
|
|
impl<T: '_> Foo<'static> for Vec<T> {} //~ ERROR `'_` cannot be used here
|
|
|
|
|
2018-10-11 14:51:44 -05:00
|
|
|
fn main() { }
|