rust/tests/ui/impl-trait/precise-capturing/duplicated-use.real.stderr
2024-08-17 12:33:29 -04:00

9 lines
268 B
Plaintext

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