rust/tests/ui/impl-trait/precise-capturing/apit.stderr

9 lines
236 B
Plaintext

error: `use<...>` precise capturing syntax not allowed in argument-position `impl Trait`
--> $DIR/apit.rs:3:26
|
LL | fn hello(_: impl Sized + use<>) {}
| ^^^^^
error: aborting due to 1 previous error