about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2017-01-08 14:00:57 -0800
committerEsteban Küber <esteban@kuber.com.ar>2017-01-08 16:07:14 -0800
commitb206064fc86b356759e4cbfc60407b426c362cac (patch)
treec77cbd402fec8ae5e7d45717516a48a12afefa29 /src/test/run-pass/thinlto
parentf65a907ef9e21a350118d2efa323ebf49c3ec1cf (diff)
downloadrust-b206064fc86b356759e4cbfc60407b426c362cac.tar.gz
rust-b206064fc86b356759e4cbfc60407b426c362cac.zip
Teach diagnostics to correct margin on multiline messages
Make any diagnostic line to have the correct margin to align with the
first line:

```
error: message
 --> file.rs:3:20
  |
3 |     <CODE>
  |      ^^^^
  |
  = note: this is a multiline
          note with a correct
          margin
  = note: this is a single line note
  = help: here are some functions which might fulfill your needs:
          - .len()
          - .foo()
          - .bar()
  = suggestion: this is a multiline
                suggestion with a
                correct margin
```
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions