blob: 41d5f0f64498db172de7845282a531eea1bbca68 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// issue: 114146
trait Foo {
fn bar<'other: 'a>() -> impl Sized + 'a {}
//~^ ERROR use of undeclared lifetime name `'a`
//~| ERROR use of undeclared lifetime name `'a`
}
fn main() {}
|