diff options
| author | bors <bors@rust-lang.org> | 2017-01-11 05:27:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-11 05:27:11 +0000 |
| commit | e57f061be20666eb0506f6f41551c798bbb38b60 (patch) | |
| tree | cd8e01c09388b85eb7315fc9cde960cac96ddb51 /src/test/run-pass/thinlto | |
| parent | e4fee525e04838dabc82beed5ae1a06051be53fd (diff) | |
| parent | 04e4a60b45ec4debd20be2327cb6859271502c05 (diff) | |
| download | rust-e57f061be20666eb0506f6f41551c798bbb38b60.tar.gz rust-e57f061be20666eb0506f6f41551c798bbb38b60.zip | |
Auto merge of #38916 - estebank:pad-suggestion-list, r=nikomatsakis
Teach diagnostics to correct margin of multiline messages
Make the suggestion list have a correct padding:
```
error[E0308]: mismatched types
--> file.rs:3:20
|
3 | let x: usize = "";
| ^^ expected usize, found reference
|
= note: expected type `usize`
= note: found type `&'static str`
= help: here are some functions which might fulfill your needs:
- .len()
- .foo()
- .bar()
```
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
