diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-01-07 21:12:33 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-01-07 23:34:37 -0800 |
| commit | 43b10fa8ed3dd96684ec89812dc7810431cd0d01 (patch) | |
| tree | 03a3a7fc2fb16d35528bd70d8aefc4a840642f4b /src/test/run-pass/thinlto | |
| parent | 7e38a89a7b970181be083691504825a23e6b0a0f (diff) | |
| download | rust-43b10fa8ed3dd96684ec89812dc7810431cd0d01.tar.gz rust-43b10fa8ed3dd96684ec89812dc7810431cd0d01.zip | |
Teach diagnostics to have correctly padded lists
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
