]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/assoc-const-as-fn.stderr
Update unsuspicious file list
[rustc.git] / src / test / 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:40
3 |
4 LL | <T as GlUniformScalar>::FACTORY(1, value);
5 | ------------------------------- ^^^^^ the trait `GlUniformScalar` is not implemented for `T`
6 | |
7 | required by a bound introduced by this call
8 |
9 help: consider further restricting this bound
10 |
11 LL | pub fn foo<T: UniformScalar + GlUniformScalar>(value: T) {
12 | +++++++++++++++++
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.