diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-08-13 14:50:27 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-08-17 10:18:06 -0700 |
| commit | c4672f8e879a0c31fbe26990551693da16f00a98 (patch) | |
| tree | 4f174601c1509cb65b7defc3898e5150687ed752 /src/rustllvm/PassWrapper.cpp | |
| parent | a80a873209a79499290201f8657618703a51b73e (diff) | |
| download | rust-c4672f8e879a0c31fbe26990551693da16f00a98.tar.gz rust-c4672f8e879a0c31fbe26990551693da16f00a98.zip | |
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 {
| ^^^^
```
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
