]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-const/associated-const-generic-obligations.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / associated-const / associated-const-generic-obligations.stderr
1 error[E0277]: the trait bound `T: Foo` is not satisfied
2   --> $DIR/associated-const-generic-obligations.rs:25:5
3    |
4 LL |     const FROM: &'static str = "foo";
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `T`
6    |
7    = help: consider adding a `where T: Foo` bound
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.