about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-22 04:28:49 +0000
committerbors <bors@rust-lang.org>2017-08-22 04:28:49 +0000
commit6722996923157f2089cd5d7ead10f79162e0abb0 (patch)
tree347c6a343b294adf6eaaad2e91eba995c5bf7059 /src/libstd/sys/unix/process/process_unix.rs
parent942711e115834ea2b4d91e1b3d3ae84b69cad670 (diff)
parentf06323337dd0cf748e8a0ca49d91dac2eae6b4a9 (diff)
downloadrust-6722996923157f2089cd5d7ead10f79162e0abb0.tar.gz
rust-6722996923157f2089cd5d7ead10f79162e0abb0.zip
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.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions