rust/src/libsyntax
bors 6722996923 Auto merge of #43854 - estebank:missing-cond, r=nikomatsakis
Point out missing if conditional

On a case where an else conditional is missing, point this out
instead of the token immediately after the (incorrect) else block:

```
error: missing condition for `if` statemementt push fork -f

  --> $DIR/issue-13483.rs:16:5
   |
13 |    } else if {
   |             ^ expected if condition here
```

instead of

```
error: expected `{`, found `else`
  --> ../../src/test/ui/issue-13483.rs:14:7
   |
14 |     } else {
   |       ^^^^
```

Fix #13483.
2017-08-22 04:28:49 +00:00
..
2017-08-15 15:29:17 -07:00
2017-08-15 15:29:17 -07:00
2017-08-15 15:29:17 -07:00
2017-08-15 15:29:17 -07:00
2017-08-06 21:29:05 -07:00
2017-08-15 15:29:17 -07:00