]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/different_generic_args.min.stderr
Auto merge of #105924 - TimNN:ui-remap, r=Mark-Simulacrum
[rust.git] / tests / ui / const-generics / different_generic_args.min.stderr
1 error[E0308]: mismatched types
2   --> $DIR/different_generic_args.rs:11:9
3    |
4 LL |     u = ConstUsize::<4> {};
5    |         ^^^^^^^^^^^^^^^^^^ expected `3`, found `4`
6    |
7    = note: expected struct `ConstUsize<3>`
8               found struct `ConstUsize<4>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.