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
Plaintext
Raw Permalink Normal View History

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