fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0271]: type mismatch resolving `<T as TraitWAssocConst>::A == 32` 2 --> $DIR/projection-unspecified-but-bounded.rs:12:11 3 | 4LL | foo::<T>(); 5 | ^ expected `32`, found `<T as TraitWAssocConst>::A` 6 | 7 = note: expected constant `32` 8 found constant `<T as TraitWAssocConst>::A` 9note: required by a bound in `foo` 10 --> $DIR/projection-unspecified-but-bounded.rs:9:28 11 | 12LL | fn foo<T: TraitWAssocConst<A = 32>>() {} 13 | ^^^^^^ required by this bound in `foo` 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0271`.