mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
7 lines
164 B
Rust
7 lines
164 B
Rust
trait Foo {
|
|
fn test() -> impl Sized + use<Self>;
|
|
//~^ ERROR `use<...>` precise capturing syntax is currently not allowed in return-position
|
|
}
|
|
|
|
fn main() {}
|