summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/generic_const_exprs/type_mismatch.stderr
blob: c73d1022ed312f23d44cf23fa82768768010804b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0046]: not all trait items implemented, missing: `ASSOC`
  --> $DIR/type_mismatch.rs:8:1
   |
LL |     const ASSOC: usize;
   |     ------------------ `ASSOC` from trait
...
LL | impl<const N: u64> Q for [u8; N] {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `ASSOC` in implementation

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0046`.