| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-05-19 | fix some clippy warnings in librustc_errors | Andre Bogus | -2/+2 | |
| 2017-05-12 | Rollup merge of #41942 - tommyip:master, r=Mark-Simulacrum | Mark Simulacrum | -1/+4 | |
| Fix unexpected panic with the -Z treat-err-as-bug option This fix an issue where the compiler panics even if there is no error when passed with the `-Z treat-err-as-bug` option. Fixes #35886. r? @Mark-Simulacrum | ||||
| 2017-05-12 | Fix unexpected panic with the -Z treat-err-as-bug option | Tommy Ip | -1/+4 | |
| This fix an issue where the compiler panics even if there is no error when passed with the `-Z treat-err-as-bug` option. Fixes #35886. | ||||
| 2017-05-10 | Refactor suggestion diagnostic API to allow for multiple suggestions | Oliver Schneider | -0/+5 | |
| 2017-05-08 | Remove need for &format!(...) or &&"" dances in `span_label` calls | Oliver Schneider | -2/+4 | |
| 2017-04-25 | Minimize single span suggestions into a note | Oliver Schneider | -5/+5 | |
| 2017-04-11 | Highlight and simplify mismatched types | Esteban Küber | -4/+6 | |
| Shorten mismatched types errors by replacing subtypes that are not different with `_`, and highlighting only the subtypes that are different. Given a file ```rust struct X<T1, T2> { x: T1, y: T2, } fn foo() -> X<X<String, String>, String> { X { x: X {x: "".to_string(), y: 2}, y: "".to_string()} } fn bar() -> Option<String> { "".to_string() } ``` provide the following output ```rust error[E0308]: mismatched types --> file.rs:6:5 | 6 | X { x: X {x: "".to_string(), y: 2}, y: "".to_string()} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found {integer} | = note: expected type `X<X<_, std::string::String>, _>` ^^^^^^^^^^^^^^^^^^^ // < highlighted found type `X<X<_, {integer}>, _>` ^^^^^^^^^ // < highlighted error[E0308]: mismatched types --> file.rs:6:5 | 10 | "".to_string() | ^^^^^^^^^^^^^^ expected struct `std::option::Option`, found `std::string::String` | = note: expected type `Option<std::string::String>` ^^^^^^^ ^ // < highlighted found type `std::string::String` ``` | ||||
| 2016-11-01 | pacify the mercilous tidy | Niko Matsakis | -0/+10 | |
| 2016-11-01 | compare-method lint | Niko Matsakis | -0/+22 | |
| 2016-11-01 | separate Diagnostic from DiagnosticBuilder | Niko Matsakis | -0/+164 | |
