about summary refs log tree commit diff
path: root/src/librustc_middle/ty/diagnostics.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-270/+0
2020-06-19Account for multiple impl/dyn Trait in return type when suggesting `'_`Esteban Küber-10/+21
2020-06-15When `'static` is explicit, suggest constraining argument with itEsteban Küber-1/+4
2020-06-15Suggest substituting `'static` lifetime in impl/dyn `Trait + 'static` return ↵Esteban Küber-4/+4
types
2020-05-31Rollup merge of #72715 - estebank:trailing-comma-where, r=petrochenkovRalf Jung-15/+1
Account for trailing comma when suggesting `where` clauses Fix #72693.
2020-05-30Account for returned `dyn Trait` evaluating to `'static` lifetimeEsteban Küber-0/+19
Provide a suggestion for `dyn Trait + '_` when possible.
2020-05-29Move common code to `WhereClause`Esteban Küber-12/+1
2020-05-28Account for trailing comma when suggesting `where` clausesEsteban Küber-12/+9
Fix #72693.
2020-05-04Suggest restricting type param when it doesn't satisfy projectionEsteban Küber-1/+183
When encountering a projection that isn't satisfied by a type parameter, suggest constraining the type parameter.
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-8/+12
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-0/+65