summary refs log tree commit diff
path: root/src/test/ui/issues/issue-50600.stderr
blob: a72dbace248627cb3671f5805b16a208b7669175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/issue-50600.rs:12:13
   |
LL |     fn([u8; |x: u8| {}]), //~ ERROR mismatched types
   |             ^^^^^^^^^^ expected usize, found closure
   |
   = note: expected type `usize`
              found type `[closure@$DIR/issue-50600.rs:12:13: 12:23]`

error: aborting due to previous error

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