Ariel Ben-Yehuda
77f4022303
Revert "Change error count messages"
...
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-07-02 13:49:30 +03:00
Esteban Küber
4142d7bb89
Use callsite's span for macro calls on suggestion
...
When suggesting an appropriate mutability for a macro call, use the call
span instead of the expanded macro's span.
2017-05-31 23:48:19 -07:00
Michael Kohl
5558c64f33
Change error count messages
...
See #33525 for details.
2017-05-24 16:14:38 +07:00
Guillaume Gomez
7ce1eb77c7
Update ui test
2017-04-21 22:58:15 +02:00
Vadim Petrochenkov
ffba0cea62
Merge ty::TyBox into ty::TyAdt
2017-01-30 23:14:15 +03:00
Esteban Küber
fc774e629f
Teach Diagnostics to highlight text
2017-01-17 14:28:53 -08:00
Esteban Küber
43b10fa8ed
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()
```
2017-01-07 23:34:37 -08:00
Guillaume Gomez
28e2c6aff9
Update ui test stderr
2016-12-20 11:43:19 +01:00
Guillaume Gomez
b5686422e1
improve suggestions output and add ui test
2016-12-20 11:37:15 +01:00