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

error: aborting due to previous error

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