about summary refs log tree commit diff
path: root/tests/ui/diagnostic-width/long-span.short.stderr
blob: b4803e31aaab828bf492fd3c44aa2296befe93e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 │ …u8 = [0, 0, 0…0];
   ╰╴      ━━━━━━━━…━━ expected `u8`, found `[{integer}; 1680]`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0308, E0369.
For more information about an error, try `rustc --explain E0308`.