]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-104769-concat_bytes-invalid-literal.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / macros / issue-104769-concat_bytes-invalid-literal.stderr
1 error: invalid suffix `Y` for number literal
2   --> $DIR/issue-104769-concat_bytes-invalid-literal.rs:4:19
3    |
4 LL |     concat_bytes!(7Y);
5    |                   ^^ invalid suffix `Y`
6    |
7    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
8
9 error: integer literal is too large
10   --> $DIR/issue-104769-concat_bytes-invalid-literal.rs:6:19
11    |
12 LL |     concat_bytes!(888888888888888888888888888888888888888);
13    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: value exceeds limit of `340282366920938463463374607431768211455`
16
17 error: aborting due to 2 previous errors
18