Files
rust/tests/ui/traits/const-traits/trait-where-clause-const.stderr

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

16 lines
412 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `T: ~const Bar` is not satisfied
2024-06-30 17:08:45 +00:00
--> $DIR/trait-where-clause-const.rs:22:5
2023-07-29 08:20:25 +00:00
|
LL | T::b();
| ^^^^^^
2023-07-29 08:20:25 +00:00
error[E0277]: the trait bound `T: ~const Bar` is not satisfied
--> $DIR/trait-where-clause-const.rs:24:5
2023-07-29 08:20:25 +00:00
|
LL | T::c::<T>();
| ^^^^^^^^^^^
2023-07-29 08:20:25 +00:00
error: aborting due to 2 previous errors
2023-07-29 08:20:25 +00:00
For more information about this error, try `rustc --explain E0277`.