summaryrefslogtreecommitdiffstats
path: root/tests/ui/diagnostic-width/whitespace-trimming-2.stderr
blob: 97a64e603b761b49bd93b33e22c86e3bdeffa05f (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/whitespace-trimming-2.rs:4:187
   |
LL | ...-> usize {
   |       ----- expected `usize` because of return type
LL | ...                                                                                                                                                                                 ()
   |                                                                                                                                                                                     ^^ expected `usize`, found `()`

error: aborting due to previous error

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