]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/different_byref_simple.full.stderr
Auto merge of #79342 - CDirkx:ipaddr-const, r=oli-obk
[rust.git] / src / test / ui / const-generics / different_byref_simple.full.stderr
1 error[E0308]: mismatched types
2   --> $DIR/different_byref_simple.rs:12:9
3    |
4 LL |     u = ConstUsize::<4> {};
5    |         ^^^^^^^^^^^^^^^^^^ expected `3_usize`, found `4_usize`
6    |
7    = note: expected struct `ConstUsize<3_usize>`
8               found struct `ConstUsize<4_usize>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.