summary refs log tree commit diff
path: root/src/test/ui/issue-27008.stderr
blob: 7983146366446c19ad4e8b3dbc24b76b71e089f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/issue-27008.rs:14:17
   |
LL |     let b = [0; S];
   |                 ^ expected usize, found struct `S`
   |
   = note: expected type `usize`
              found type `S`

error: aborting due to previous error

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