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