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

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