summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/collect
AgeCommit message (Expand)AuthorLines
2024-01-30hir: Remove `hir::Map::{owner,expect_owner}`Vadim Petrochenkov-1/+1
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+1
2024-01-23Rollup merge of #119766 - oli-obk:split_tait_and_atpit, r=compiler-errorsLeón Orell Valerian Liehr-7/+77
2024-01-23Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.Nicholas Nethercote-2/+2
2024-01-22Use an enum instead of a boolOli Scherer-10/+17
2024-01-22Add a simpler and more targetted code path for impl trait in assoc itemsOli Scherer-7/+70
2024-01-18Rollup merge of #119869 - oli-obk:track_errors2, r=matthewjasperMatthias Krüger-3/+5
2024-01-17Stop using track_errors for some forever unstable rustc_attr analysesOli Scherer-3/+5
2024-01-16Don't ICE if TAIT-defining fn contains a closure with `_` in return typeLukas Markeffsky-12/+19
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-7/+8
2024-01-11Silence follow up errors if astconv already erroredOli Scherer-1/+5
2024-01-11Rollup merge of #119803 - oli-obk:even_more_follow_up_errors, r=compiler-errorsMatthias Krüger-12/+23
2024-01-10Avoid follow up errorsOli Scherer-0/+15
2024-01-10Turn some free functions into methodsOli Scherer-5/+5
2024-01-10Use a ty::Error instead of patching up a type after erroringOli Scherer-7/+3
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-7/+4
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-2/+2
2024-01-09Rollup merge of #119721 - compiler-errors:constness-implication, r=fee1-deadGuillaume Gomez-32/+6
2024-01-08~const trait or projection bounds do not imply non-const boundsMichael Goulet-32/+6
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-4/+4
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-05Do not run check on foreign items.Camille GILLOT-1/+1
2024-01-05Handle ForeignItem as TAIT scope.Camille GILLOT-0/+7
2024-01-02Turn a bug!() into a span_delay_bug()León Orell Valerian Liehr-1/+4
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-6/+6
2023-12-25Only regular coroutines have movabilityMichael Goulet-1/+1
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-6/+6
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-21/+21
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-1/+1
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-1/+1
2023-12-17skip rpit constraint check if borrowck return type errorbohan-0/+4
2023-12-15Rollup merge of #119004 - matthiaskrgr:conv, r=compiler-errorsJubilee-1/+1
2023-12-15NFC don't convert types to identical typesMatthias Krüger-1/+1
2023-12-15Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkinJubilee-2/+2
2023-12-15Rollup merge of #118396 - compiler-errors:ast-lang-items, r=cjgillotJubilee-26/+0
2023-12-15banish hir::GenericBound::LangItemTraitMichael Goulet-26/+0
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-2/+2
2023-12-15Annotate some bugsMichael Goulet-8/+29
2023-12-13Auto merge of #118500 - ZetaNumbers:tcx_hir_refactor, r=petrochenkovbors-23/+21
2023-12-12clippy::complexity fixesMatthias Krüger-7/+4
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-23/+21
2023-12-05Remove `#[rustc_host]`, use internal desugaringDeadbeef-10/+8
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-5/+5
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-16/+16
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-12/+12
2023-11-14finish `RegionKind` renamelcnr-4/+4
2023-11-12Small improvements in object lifetime default codeNilstrieb-1/+1
2023-11-03clone lessMatthias Krüger-1/+1
2023-10-30Also consider TAIT to be uncomputable if the MIR body is taintedMichael Goulet-3/+11