os-rust/tests/ui/rfcs/rfc-2632-const-trait-impl/default-method-body-is-const-same-trait-ck.stderr

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

12 lines
383 B
Text
Raw Normal View History

2023-08-06 13:20:55 +00:00
error[E0277]: the trait bound `(): ~const Tr` is not satisfied
--> $DIR/default-method-body-is-const-same-trait-ck.rs:8:12
2022-01-11 23:52:24 +08:00
|
LL | ().a()
| ^ the trait `~const Tr` is not implemented for `()`
2022-02-10 20:22:54 +11:00
|
= help: the trait `Tr` is implemented for `()`
error: aborting due to 1 previous error
2022-01-11 23:52:24 +08:00
For more information about this error, try `rustc --explain E0277`.