about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-09-08Adjust spacing in suggestion, add a testMichael Goulet-2/+2
2022-09-08Add associated item binding to non-param-ty where clause suggestionsMichael Goulet-1/+13
2022-07-22Don't suggest unnameable generic argumentsLeón Orell Valerian Liehr-5/+13
2022-07-06Update TypeVisitor pathsAlan Egerton-2/+2
2022-07-05Relax constrained generics to TypeVisitableAlan Egerton-3/+3
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-1/+1
2022-06-11Address commentsMichael Goulet-17/+17
2022-06-11Make is_suggestable work on all TypeFoldableMichael Goulet-14/+47
2022-06-11Handle empty where-clause betterMichael Goulet-9/+4
2022-06-11Make Ty::is_suggestable use a visitorMichael Goulet-69/+69
2022-06-02On E0204 suggest missing type param boundsEsteban Küber-1/+4
2022-05-28Move things to rustc_type_irWilco Kusee-1/+1
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-1/+1
2022-04-30Save colon span to suggest bounds.Camille GILLOT-0/+13
2022-04-30Store all generic bounds as where predicates.Camille GILLOT-239/+95
2022-04-30Inline WhereClause into Generics.Camille GILLOT-23/+14
2022-04-26TAITs are suggestableMichael Goulet-14/+24
2022-04-12Fix wrong suggestions for `T:`Maybe Waffle-7/+28
2022-04-05macros: add args for non-subdiagnostic fieldsDavid Wood-1/+7
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-12don't call multipart_suggestionouz-a-7/+1
2022-03-07fixouz-a-0/+6
2022-03-01Add helper function to suggest multiple constraintsMaybe Waffle-163/+235
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-4/+4
2022-02-21use `List<Ty<'tcx>>` for tupleslcnr-1/+2
2022-02-15Overhaul `Const`.Nicholas Nethercote-3/+3
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-8/+8
2022-01-18Auto merge of #87648 - JulianKnodt:const_eq_constrain, r=oli-obkbors-3/+9
2022-01-17Add term to ExistentialProjectionkadmin-3/+9
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-12/+0
2021-12-14Make TyS::is_suggestable more structualMichael Goulet-10/+54
2021-12-10Use a more accurate `Span` for `'static` obligation from return typeEsteban Kuber-0/+20
2021-12-03Annotate `derive`d spans and move span suggestion codeEsteban Kuber-2/+2
2021-10-16Adopt let_else across the compilerest31-3/+1
2021-09-07Don't move ?Trait bounds to param bounds if they're in where clausesjackh726-9/+3
2021-07-30Do not discard `?Sized` type params and suggest their removalEsteban Küber-0/+112
2021-06-08use non_erasable_genericsEllen-1/+1
2021-05-29Fix missing note on type mismatch error diagnosticsEllen-1/+1
2021-03-18hir: Preserve used syntax in `TyKind::TraitObject`Vadim Petrochenkov-0/+1
2021-02-17In some limited cases, suggest `where` bounds for non-type paramsEsteban Küber-0/+30
2021-02-15Use ItemId as a strongly typed index.Camille GILLOT-1/+1
2021-02-02Bump rustfmt versionMark Rousskov-7/+11
2021-01-18Move a few more types to `rustc_type_ir`LeSeulArtichaut-2/+1
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-2/+2
2020-09-21Reduce boilerplate with the matches! macroLingMan-16/+16
2020-09-14clean up comment text a bitiximeow-3/+3
2020-09-13fix syntax error in suggesting generic constraint in trait parameteriximeow-20/+46
2020-09-04Change ty.kind to a methodLeSeulArtichaut-4/+4
2020-08-30mv compiler to compiler/mark-0/+270