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