about summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/apit.stderr
blob: 7573e0838ab46c0ef2a260fd47755c18163d3a75 (plain)
1
2
3
4
5
6
7
8
error: `use<...>` precise capturing syntax not allowed in argument-position `impl Trait`
  --> $DIR/apit.rs:1:26
   |
LL | fn hello(_: impl Sized + use<>) {}
   |                          ^^^^^

error: aborting due to 1 previous error