rust/tests/ui/traits/const-traits/call-const-closure.stderr

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

10 lines
276 B
Plaintext
Raw Normal View History

2024-10-21 20:16:33 +00:00
error[E0277]: the trait bound `(): ~const Bar` is not satisfied
--> $DIR/call-const-closure.rs:17:18
2024-10-21 20:16:33 +00:00
|
LL | (const || ().foo())();
| ^^^
2024-10-21 20:16:33 +00:00
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.