summary refs log tree commit diff
path: root/src/test/ui/issue-50585.stderr
blob: e4edc18c3f8e4e4e2386152b4c09f879a762e2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/issue-50585.rs:12:18
   |
LL |     |y: Vec<[(); for x in 0..2 {}]>| {};
   |                  ^^^^^^^^^^^^^^^^ expected usize, found ()
   |
   = note: expected type `usize`
              found type `()`

error: aborting due to previous error

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