summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-27008.stderr
blob: b4bfaa27863323316dc405561e98afd0d25759db (plain)
1
2
3
4
5
6
7
8
9
error[E0308]: mismatched types
  --> $DIR/issue-27008.rs:4:17
   |
LL |     let b = [0; S];
   |                 ^ expected `usize`, found `S`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0308`.