rust/tests/ui/const-generics/bad-subst-const-kind.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
293 B
Plaintext
Raw Normal View History

error[E0308]: mismatched types
--> $DIR/bad-subst-const-kind.rs:8:31
|
LL | impl<const N: u64> Q for [u8; N] {
| ^ expected `usize`, found `u64`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.