mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 10:27:41 +00:00
7 lines
190 B
Rust
7 lines
190 B
Rust
trait Foo {
|
|
fn bar<'a>() -> impl Sized + use<Self>;
|
|
//~^ ERROR `use<...>` precise capturing syntax is currently not allowed in return-position `impl Trait` in traits
|
|
}
|
|
|
|
fn main() {}
|