]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-tup-index-span.stderr
Rollup merge of #93613 - crlf0710:rename_to_async_iter, r=yaahc
[rust.git] / src / test / ui / consts / const-tup-index-span.stderr
1 error[E0308]: mismatched types
2   --> $DIR/const-tup-index-span.rs:3:23
3    |
4 LL | const TUP: (usize,) = 5usize << 64;
5    |                       ^^^^^^^^^^^^ expected tuple, found `usize`
6    |
7    = note: expected tuple `(usize,)`
8                found type `usize`
9 help: use a trailing comma to create a tuple with one element
10    |
11 LL | const TUP: (usize,) = (5usize << 64,);
12    |                       +            ++
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0308`.