mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-25 06:32:04 +00:00
8 lines
230 B
Rust
8 lines
230 B
Rust
#![feature(precise_capturing)]
|
|
//~^ WARN the feature `precise_capturing` is incomplete
|
|
|
|
fn hello(_: impl Sized + use<>) {}
|
|
//~^ ERROR `use<...>` precise capturing syntax not allowed in argument-position `impl Trait`
|
|
|
|
fn main() {}
|