1
Fork 0
rust/tests/ui/impl-trait/precise-capturing/apit.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
236 B
Text
Raw Normal View History

2024-06-05 16:31:12 -04:00
error: `use<...>` precise capturing syntax not allowed in argument-position `impl Trait`
--> $DIR/apit.rs:3:26
2024-04-04 20:36:18 -04:00
|
2024-06-05 16:18:52 -04:00
LL | fn hello(_: impl Sized + use<>) {}
| ^^^^^
2024-04-04 20:36:18 -04:00
error: aborting due to 1 previous error
2024-04-04 20:36:18 -04:00