blob: 3a93dfee57f33002f90693b03004c32c8f0e0360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// issue: 114146
#![feature(return_position_impl_trait_in_trait)]
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() {}
|