]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/const-eval-span.stderr
Auto merge of #55780 - ogoffart:span_source_text, r=petrochenkov
[rust.git] / src / test / ui / consts / const-eval / const-eval-span.stderr
1 error[E0308]: mismatched types
2   --> $DIR/const-eval-span.rs:9:9
3    |
4 LL |     V = CONSTANT,
5    |         ^^^^^^^^ expected isize, found struct `S`
6    |
7    = note: expected type `isize`
8               found type `S`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.