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

error: aborting due to previous error

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