summaryrefslogtreecommitdiff
path: root/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Commit message (Expand)AuthorAgeFilesLines
* Handle error body when in generator layoutclubby7892023-05-131-2/+1
* Note base types of coercionMichael Goulet2023-05-121-15/+13
* Rollup merge of #110577 - compiler-errors:drop-impl-fulfill, r=lcnrMatthias Krüger2023-05-061-1/+2
|\
| * Use fulfillment to check Drop impl compatibilityMichael Goulet2023-05-041-1/+2
* | forbid escaping bound vars in combinelcnr2023-05-051-14/+35
|/
* Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors2023-05-041-1/+1
|\
| * Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle2023-04-251-1/+1
* | Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obkDylan DPC2023-05-041-0/+4
|\ \
| * | Implement negative boundsMichael Goulet2023-05-021-0/+4
* | | Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote2023-05-031-46/+46
|/ /
* | Make async removal span more resilient to macro expansionsMichael Goulet2023-04-271-6/+8
* | tweak removal spanMichael Goulet2023-04-271-1/+8
* | Tweak await spanMichael Goulet2023-04-271-41/+45
|/
* Break up long function in trait selection error reportingBryan Garza2023-04-211-2/+2
* Spelling - compilerJosh Soref2023-04-171-1/+1
* a couple clippy::complexity fixesMatthias Krüger2023-04-011-3/+2
* Rollup merge of #109472 - MU001999:patch-3, r=eholkMatthias Krüger2023-03-231-7/+25
|\
| * Use span_look_ahead instead of next_pointMu422023-03-231-6/+3
| * Fixes #109436: add parentheses properlyMu422023-03-221-7/+28
* | reviewlcnr2023-03-221-2/+1
* | `HirId` to `LocalDefId` cleanuplcnr2023-03-221-5/+4
|/
* Do not suggest bounds restrictions for synthesized RPITITsSantiago Pastorino2023-03-211-0/+1
* Remove box expressions from HIRclubby7892023-03-141-3/+0
* Auto merge of #104833 - Swatinem:async-identity-future, r=compiler-errorsbors2023-03-141-8/+1
|\
| * Remove `identity_future` indirectionArpad Borsos2023-03-081-8/+1
* | Rollup merge of #108841 - jackh726:issue-90528, r=compiler-errorsMatthias Krüger2023-03-121-1/+76
|\ \
| * | Add suggestion to diagnostic when user has array but trait wants slice.Ben Reeves2023-03-071-1/+76
* | | Address the new odd backticks tidy lint in compiler/est312023-03-111-1/+1
|/ /
* | rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov2023-03-021-1/+1
|/
* Special note for str in auto traitsMichael Goulet2023-02-251-0/+1
* Auto merge of #108369 - compiler-errors:ty-error-more, r=BoxyUwUbors2023-02-231-4/+4
|\
| * Rename ty_error_with_guaranteed to ty_error, ty_error to ty_error_miscMichael Goulet2023-02-221-4/+4
* | Auto merge of #108324 - notriddle:notriddle/assoc-fn-method, r=compiler-error...bors2023-02-231-2/+5
|\ \ | |/ |/|
| * diagnostics: if AssocFn has self argument, describe as methodMichael Howell2023-02-221-2/+5
* | Remove type-traversal trait aliasesAlan Egerton2023-02-221-4/+4
|/
* Specify what 'this' actually isMichael Goulet2023-02-211-1/+7
* Use `IntoIterator` for `mk_fn_sig`.Nicholas Nethercote2023-02-171-2/+2
* Rollup merge of #108136 - eggyal:unmet_trait_alias_bound_on_generic_impl, r=c...Matthias Krüger2023-02-171-1/+1
|\
| * Clarify `DerivedObligationCause` may hold alias idAlan Egerton2023-02-161-1/+1
* | Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger2023-02-171-1/+1
|\ \ | |/ |/|
| * Be better about bound varsMichael Goulet2023-02-161-1/+1
* | Replace some `then`s with some `then_some`sMaybe Waffle2023-02-161-1/+1
* | `if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle2023-02-161-11/+6
* | Rollup merge of #108010 - compiler-errors:can_eq-returns-bool, r=lcnrMatthias Krüger2023-02-151-8/+9
|\ \ | |/ |/|
| * Make can_eq and can_sub return booleansMichael Goulet2023-02-131-8/+9
* | Rename folder traits' `tcx` method to `interner`Alan Egerton2023-02-131-1/+1
* | Make folding traits generic over the InternerAlan Egerton2023-02-131-1/+1
* | Alias folding/visiting traits instead of re-exportAlan Egerton2023-02-131-4/+4
|/
* Reduce direct `mk_ty` usage.Nicholas Nethercote2023-02-131-1/+1
* Rollup merge of #105019 - chenyukang:yukang/fix-104961-borrow, r=cjgillotDylan DPC2023-02-111-7/+35
|\