| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -1/+1 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-03-16 | fix expected/found order on impl trait projection mismatch | SNCPlay42 | -2/+4 | |
| 2020-10-17 | Suggest minimal subset features in `incomplete_features` lint | Yuki Okushi | -0/+1 | |
| 2020-06-16 | warn against 'specialization' feature | Ralf Jung | -1/+10 | |
| 2020-05-02 | On type mismatch involving associated type, suggest constraint | Esteban Küber | -1/+1 | |
| When an associated type is found when a specific type was expected, if possible provide a structured suggestion constraining the associated type in a bound. ``` error[E0271]: type mismatch resolving `<T as Foo>::Y == i32` --> $DIR/associated-types-multiple-types-one-trait.rs:13:5 | LL | want_y(t); | ^^^^^^ expected `i32`, found associated type ... LL | fn want_y<T:Foo<Y=i32>>(t: &T) { } | ----- required by this bound in `want_y` | = note: expected type `i32` found associated type `<T as Foo>::Y` help: consider constraining the associated type `<T as Foo>::Y` to `i32` | LL | fn have_x_want_y<T:Foo<X=u32, Y = i32>>(t: &T) | ^^^^^^^^^ ``` ``` error[E0308]: mismatched types --> $DIR/trait-with-missing-associated-type-restriction.rs:12:9 | LL | qux(x.func()) | ^^^^^^^^ expected `usize`, found associated type | = note: expected type `usize` found associated type `<impl Trait as Trait>::A` help: consider constraining the associated type `<impl Trait as Trait>::A` to `usize` | LL | fn foo(x: impl Trait<A = usize>) { | ^^^^^^^^^^ ``` | ||||
| 2020-01-08 | review comments | Esteban Küber | -4/+10 | |
| 2020-01-08 | Point at opaque and closure type definitions in type errors | Esteban Küber | -0/+12 | |
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -2/+6 | |
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -8/+8 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -8/+8 | |
| 2019-09-18 | Add explanation to type mismatch involving type params and assoc types | Esteban Küber | -0/+2 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -4/+4 | |
| 2018-09-06 | Fixing tests from anon -> opaque | ms2300 | -1/+1 | |
| 2018-06-07 | Add existential type definitons | Oliver Schneider | -0/+39 | |
