summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/apit.stderr
blob: 1d6225a1ff8d2a33681d43c793dfc8a4af9bbab4 (plain)
1
2
3
4
5
6
7
8
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