Files
rust/tests/ui/traits/const-traits/call-const-in-conditionally-const.stderr

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

10 lines
277 B
Plaintext
Raw Normal View History

2024-10-21 20:16:33 +00:00
error[E0277]: the trait bound `T: const Foo` is not satisfied
--> $DIR/call-const-in-conditionally-const.rs:9:13
2024-10-21 20:16:33 +00:00
|
LL | const { T::foo() }
| ^
2024-10-21 20:16:33 +00:00
2024-10-30 18:03:44 +00:00
error: aborting due to 1 previous error
2024-10-21 20:16:33 +00:00
For more information about this error, try `rustc --explain E0277`.