blob: a1cb789a645495e59b6d48134f8b5eaafdc294f0 [file]
error[E0369]: cannot add `[{integer}; 1680]` to `[{integer}; 1680]`
╭▸ $DIR/long-span.rs:7:5056
│
LL │ …u8 = [0, 0…0, 0] + [0, 0…0, 0];
│ ┬────…───── ━ ─────…───── [{integer}; 1680]
│ │
╰╴ [{integer}; 1680]
error[E0308]: mismatched types
╭▸ $DIR/long-span.rs:9:15
│
LL │ …t D: u8 = [0, 0…0, 0];
│ ┬─ ━━━━━…━━━━━ expected `u8`, found `[{integer}; 1680]`
│ │
╰╴ expected because of the type of the constant
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0308, E0369.
For more information about an error, try `rustc --explain E0308`.