summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-27008.stderr
blob: 5b7e74c1c30125aadfd360efa3a725788ba34c29 (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 struct `S`

error: aborting due to previous error

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