]> git.lizzy.rs Git - rust.git/commit
Auto merge of #41136 - estebank:multiline, r=jonathandturner
authorbors <bors@rust-lang.org>
Sun, 9 Apr 2017 20:54:50 +0000 (20:54 +0000)
committerbors <bors@rust-lang.org>
Sun, 9 Apr 2017 20:54:50 +0000 (20:54 +0000)
commitad36c2f5528d617db66c244d8bcbfc4b36da0ca0
treecac5538352053b2e9f2dfdab11458f8d2987fc13
parentd616f47cd03a65fed13be2ee5527f24f6a4f7f92
parent4bc7f5b52c41ffd45aaf8f27e7ec667f549011c6
Auto merge of #41136 - estebank:multiline, r=jonathandturner

Always show end line of multiline annotations

```rust
error[E0046]: not all trait items implemented, missing: `Item`
  --> $DIR/issue-23729.rs:20:9
   |
20 |           impl Iterator for Recurrence {
   |  _________^ starting here...
21 | |             //~^ ERROR E0046
22 | |             //~| NOTE missing `Item` in implementation
23 | |             //~| NOTE `Item` from trait: `type Item;`
...  |
36 | |             }
37 | |         }
   | |_________^ ...ending here: missing `Item` in implementation
   |
   = note: `Item` from trait: `type Item;`
```

instead of

```rust
error[E0046]: not all trait items implemented, missing: `Item`
  --> $DIR/issue-23729.rs:20:9
   |
20 |         impl Iterator for Recurrence {
   |         ^ missing `Item` in implementation
   |
   = note: `Item` from trait: `type Item;`
```