rust/src/libsyntax/parse
Esteban Küber c4672f8e87 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 {
   |       ^^^^
```
2017-08-17 10:18:06 -07:00
..
lexer Rollup merge of #43779 - mattico:fix-unicode-typo, r=aidanhs 2017-08-11 10:20:29 +02:00
attr.rs Add LazyTokenStream. 2017-06-26 02:06:31 +00:00
classify.rs Catch expression does not require semicolon to be a statement 2017-07-18 03:42:21 +03:00
common.rs Fix some clippy warnings in libsyntax 2017-05-12 20:05:39 +02:00
mod.rs Fix some typos 2017-08-11 00:16:18 +02:00
obsolete.rs Fix some clippy warnings in libsyntax 2017-05-12 20:05:39 +02:00
parser.rs Point out missing if conditional 2017-08-17 10:18:06 -07:00
token.rs Merge remote-tracking branch 'origin/master' into proc_macro_api 2017-07-05 08:42:13 -07:00