fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `T: GlUniformScalar` is not satisfied 2 --> $DIR/assoc-const-as-fn.rs:14:6 3 | 4LL | <T as GlUniformScalar>::FACTORY(1, value); 5 | ^ the trait `GlUniformScalar` is not implemented for `T` 6 | 7help: consider further restricting this bound 8 | 9LL | pub fn foo<T: UniformScalar + GlUniformScalar>(value: T) { 10 | +++++++++++++++++ 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0277`.