mirror of
https://git.proxmox.com/git/rustc
synced 2026-02-06 02:05:52 +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() {}
|