Esteban Küber
75eabb17ae
Account for diverging types in return impl Trait
2020-01-16 09:37:24 -08:00
Esteban Küber
6f8f70624b
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
Esteban Küber
94c6425464
Remove E0308 note when primary label has all info
2019-11-18 11:03:03 -08:00
Andy Russell
b6f148c8bd
hide --explain
hint if error has no extended info
2019-04-18 13:29:28 -04:00
Esteban Küber
e33f7f7de1
Explain type mismatch cause pointing to return type when it is impl Trait
2019-01-20 18:42:10 -08:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Esteban Küber
cdbccf50a7
Point at coercion source on type errors for fn returning impl Trait
2018-12-20 16:52:52 -08:00
Oliver Schneider
9b1bd94e37
Add existential type definitons
2018-06-07 17:33:53 +02:00
Guillaume Gomez
2e104a77cf
update tests
2018-03-14 00:53:24 +01:00
Vadim Petrochenkov
fa2d9fc4b9
Update UI tests
2018-02-26 20:24:02 +03:00
Guillaume Gomez
5747fd6611
Update ui tests
2018-02-25 12:15:05 +01:00
Esteban Küber
c1383e4dc4
Add filtering options to rustc_on_unimplemented
...
- filter error on the evaluated value of `Self`
- filter error on the evaluated value of the type arguments
- add argument to include custom note in diagnostic
- allow the parser to parse `Self` when processing attributes
- add custom message to binops
2018-02-01 15:06:20 -08:00
Ariel Ben-Yehuda
77f4022303
Revert "Change error count messages"
...
This reverts commit 5558c64f33
.
2017-07-02 13:49:30 +03:00
Eduard-Mihai Burtescu
5fb37beecd
tests: fix fallout from changing the span of binop errors.
2017-06-01 08:59:47 +03:00
Mark Simulacrum
d64dddbeaf
Rollup merge of #42150 - citizen428:feature/error-count-messages, r=Mark-Simulacrum
...
Change error count messages
See #33525 for details. r? @Mark-Simulacrum
2017-05-24 19:50:05 -06:00
Michael Kohl
5558c64f33
Change error count messages
...
See #33525 for details.
2017-05-24 16:14:38 +07:00
Guillaume Gomez
747287a2b3
Add better error message when == operator is badly used
2017-05-17 22:17:53 +02:00
Esteban Küber
be8787dfe5
Explicit help message for binop type missmatch
...
When trying to do a binary operation with missing implementation, for
example `1 + Some(2)`, provide an explicit help message:
```
note: no implementation for `{integer} + std::option::Option<{integer}>`
```
Use `rustc_on_unimplemented` for the suggestions. Move cfail test to ui.
2017-04-10 14:28:38 -07:00