about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2025-08-20Move `IntoDiagArg` earlier in the dependency chainsJosh Triplett-2/+2
2025-08-06Add support for shortening `Instance` and use itEsteban Küber-2/+11
2025-05-06Auto merge of #131160 - ismailarilik:handle-potential-query-instability-lint-...bors-2/+2
2025-05-05Handle rustc_middle cases of rustc::potential_query_instability lintismailarilik-2/+2
2025-04-16Rename `LifetimeName` as `LifetimeKind`.Nicholas Nethercote-2/+2
2025-04-14Remove unused `Map` field from `TraitObjectVisitor`.Nicholas Nethercote-1/+1
2025-04-14Remove unused `StaticLifetimeVisitor`.Nicholas Nethercote-12/+0
2025-03-17Auto merge of #138595 - jhpratt:rollup-09pvfzu, r=jhprattbors-24/+18
2025-03-17Flatten and simplify some control flowYotam Ofek-24/+18
2025-03-17Use `strip_{prefix|suffix}` instead of `{starts|ends}_with`+indexingYotam Ofek-2/+2
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-1/+9
2025-01-31Make comma separated lists of anything easier to make for errorsEsteban Küber-10/+6
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-4/+4
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-7/+7
2025-01-19Manual cleanup of some `is_{or_none|some_and}` usagesYotam Ofek-1/+1
2025-01-03remove unused function paramsMatthias Krüger-2/+2
2024-12-16update uses of extract_if in the compilerThe 8472-1/+1
2024-12-07Tweak wordingEsteban Küber-5/+5
2024-12-07Do not talk about "trait `<Foo = Bar>`"Esteban Küber-2/+4
2024-12-07Account for `impl Trait` in "add bound" suggestion messageEsteban Küber-0/+6
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-16/+9
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-23/+61
2024-12-07Add test for lack of suggestion in stableEsteban Küber-2/+2
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-14/+31
2024-12-07Don't suggest restricting bound with unstable traits on stableEsteban Küber-8/+24
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-2/+2
2024-10-26Effects cleanupDeadbeef-1/+1
2024-10-24Remove associated type based effects logicMichael Goulet-3/+0
2024-10-22Represent TraitBoundModifiers as distinct parts in HIRMichael Goulet-1/+1
2024-10-14Move trait bound modifiers into hir::PolyTraitRefMichael Goulet-1/+2
2024-10-12remove a couple of redundant String to String conversionMatthias Krüger-1/+1
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-8/+2
2024-10-02Remove redundant in_trait from hir::TyKind::OpaqueDefMichael Goulet-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-13Use is_lang_item moreMichael Goulet-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+6
2024-07-24Rollup merge of #127717 - gurry:127441-stray-impl-sugg, r=compiler-errorsMatthias Krüger-20/+49
2024-07-17Remove invalid further restricting for type boundyukang-0/+14
2024-07-14Fix malformed suggestion for repeated maybe unsized boundsGurinder Singh-20/+49
2024-06-21Rename a bunch of thingsMichael Goulet-1/+1
2024-04-23Wrap dyn type with parentheses in suggestionlong-long-float-17/+22
2024-04-09Add redundant_lifetime_args lintMichael Goulet-8/+7
2024-03-21Replace closures with `_` when suggesting fully qualified path for method callEsteban Küber-6/+22
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-4/+4
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-3/+3
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+4
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-4/+4
2024-02-10Take empty `where` into account when suggesting predicatesGurinder Singh-1/+7
2024-02-04make effect infer variables suggestable in diagnosticsDeadbeef-0/+4