about summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/duplicated-use.real.stderr
blob: 95132c611e51b7fed862ca54f234173a24783978 (plain)
1
2
3
4
5
6
7
8
error: duplicate `use<...>` precise capturing syntax
  --> $DIR/duplicated-use.rs:5:32
   |
LL | fn hello<'a>() -> impl Sized + use<'a> + use<'a> {}
   |                                ^^^^^^^   ------- second `use<...>` here

error: aborting due to 1 previous error