11 lines
409 B
Plaintext
11 lines
409 B
Plaintext
error: `use<...>` precise capturing syntax is currently not allowed in return-position `impl Trait` in traits
|
|
--> $DIR/self-capture.rs:2:34
|
|
|
|
|
LL | fn bar<'a>() -> impl Sized + use<Self>;
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: currently, return-position `impl Trait` in traits and trait implementations capture all lifetimes in scope
|
|
|
|
error: aborting due to 1 previous error
|
|
|