]> git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/assoc-const-as-fn.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / suggestions / assoc-const-as-fn.stderr
1 error[E0277]: the trait bound `T: GlUniformScalar` is not satisfied
2 --> $DIR/assoc-const-as-fn.rs:14:6
3 |
4 LL | <T as GlUniformScalar>::FACTORY(1, value);
5 | ^ the trait `GlUniformScalar` is not implemented for `T`
6 |
7 help: consider further restricting this bound
8 |
9 LL | pub fn foo<T: UniformScalar + GlUniformScalar>(value: T) {
10 | +++++++++++++++++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.