about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/diagnostics.rs
AgeCommit message (Expand)AuthorLines
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
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1
2023-12-23Remove an unused diagnostic structDeadbeef-8/+0
2023-11-08rustc: minor changes suggested by clippy perf lints.Nicholas Nethercote-1/+1
2023-11-02Fix incorrect trait bound restriction suggestionEsteban Küber-0/+2
2023-10-20s/Generator/Coroutine/Oli Scherer-4/+4
2023-10-20Adjust importsMichael Goulet-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-3/+6
2023-09-26Don't store lazyness in DefKindMichael Goulet-2/+2
2023-09-14treat host effect params as erased generics in codegenDeadbeef-3/+3
2023-08-19instead of collecting newly formatted Strings into one String, only create a ...Matthias Krüger-4/+5
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-2/+2
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-9/+9
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-5/+5
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-15change `std::marker::Sized` to just `Sized`Lukas Markeffsky-5/+2
2023-06-15tweak suggestion for argument-position `impl ?Sized`Lukas Markeffsky-12/+29
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-1/+1
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-8/+5
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-03-06Place binder correctly for arbitrary trait bound suggestionMichael Goulet-2/+2
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-3/+3
2023-02-22Auto merge of #108340 - eggyal:remove_traversal_trait_aliases, r=oli-obkbors-5/+4
2023-02-22Remove type-traversal trait aliasesAlan Egerton-5/+4
2023-02-22errors: generate typed identifiers in each crateDavid Wood-0/+8
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-2/+2
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-2/+4
2023-02-13Rename folder traits' `tcx` method to `interner`Alan Egerton-1/+1
2023-02-13Make folding traits generic over the InternerAlan Egerton-1/+1
2023-02-13Make visiting traits generic over the InternerAlan Egerton-1/+1
2023-02-13Alias folding/visiting traits instead of re-exportAlan Egerton-3/+4
2023-02-06Modify existing bounds if they existEdward Shen-1/+14
2023-02-03Make const/fn return params more suggestableMichael Goulet-4/+91
2023-01-18Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorinoMichael Goulet-5/+12
2023-01-16Improve a TAIT error and add an error code plus documentationOli Scherer-1/+1
2023-01-12RPITITs are not suggestableMichael Goulet-5/+12
2022-12-15Rollup merge of #105627 - compiler-errors:dyn-auto-suggestable, r=davidtwcoMatthias Krüger-13/+2
2022-12-14Auto traits in dyn are suggestableMichael Goulet-13/+2
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-2/+2
2022-12-13Combine projection and opaque into aliasMichael Goulet-3/+3
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-4/+4