rust/src/test/ui/const-generics/different_byref_simple.min.stderr

13 lines
390 B
Plaintext
Raw Normal View History

error[E0308]: mismatched types
2020-11-17 10:44:21 +00:00
--> $DIR/different_byref_simple.rs:11:9
|
LL | u = ConstUsize::<4> {};
| ^^^^^^^^^^^^^^^^^^ expected `3_usize`, found `4_usize`
|
= note: expected struct `ConstUsize<3_usize>`
found struct `ConstUsize<4_usize>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.