rust/tests/ui/impl-trait/precise-capturing/duplicated-use.real.stderr

9 lines
268 B
Plaintext
Raw Normal View History

2024-06-05 15:43:25 -05:00
error: duplicate `use<...>` precise capturing syntax
--> $DIR/duplicated-use.rs:5:32
2024-06-05 15:43:25 -05:00
|
LL | fn hello<'a>() -> impl Sized + use<'a> + use<'a> {}
| ^^^^^^^ ------- second `use<...>` here
error: aborting due to 1 previous error
2024-06-05 15:43:25 -05:00