Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== stdout === error: mismatch in bind of associated constant, got type --> <anon>:16:15 | 16 | fn foo<F: Foo<N=usize>>() {} | ^^^^^^^ | note: associated constant defined here does not match type --> <anon>:6:3 | 6 | const N: usize; | ^^^^^^^^^^^^^^^ error[E0271]: type mismatch resolving `<Bar as Foo>::N == usize` --> <anon>:20:3 | 20 | foo::<Bar>(); | ^^^^^^^^^^ types differ | = note: expected type `usize` found type `3_usize` note: required by a bound in `foo` --> <anon>:16:15 | 16 | fn foo<F: Foo<N=usize>>() {} | ^^^^^^^ required by this bound in `foo` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0271`. === stderr === ==============
- Loading branch information