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

2023-08-06 08:20:55 -05: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 09:52:24 -06:00
|
LL | ().a()
2023-07-29 03:20:25 -05:00
| ^ the trait `Tr` is not implemented for `()`
2022-02-10 03:22:54 -06:00
|
= help: the trait `Tr` is implemented for `()`
error: aborting due to 1 previous error
2022-01-11 09:52:24 -06:00
For more information about this error, try `rustc --explain E0277`.