]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/associated-type-bound-fail.min.stderr
Auto merge of #79342 - CDirkx:ipaddr-const, r=oli-obk
[rust.git] / src / test / ui / const-generics / associated-type-bound-fail.min.stderr
1 error[E0277]: the trait bound `u16: Bar<N>` is not satisfied
2   --> $DIR/associated-type-bound-fail.rs:14:5
3    |
4 LL |     type Assoc: Bar<N>;
5    |                 ------ required by this bound in `Foo::Assoc`
6 ...
7 LL |     type Assoc = u16;
8    |     ^^^^^^^^^^^^^^^^^ the trait `Bar<N>` is not implemented for `u16`
9    |
10    = help: the following implementations were found:
11              <u16 as Bar<3_usize>>
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.