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-07 21:12:33 -0800
committerEsteban Küber <esteban@kuber.com.ar>2017-01-07 23:34:37 -0800
commit43b10fa8ed3dd96684ec89812dc7810431cd0d01 (patch)
tree03a3a7fc2fb16d35528bd70d8aefc4a840642f4b /src/test/run-pass/thinlto
parent7e38a89a7b970181be083691504825a23e6b0a0f (diff)
downloadrust-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