summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/transform
AgeCommit message (Expand)AuthorLines
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-7/+7
2024-01-26Normalize field types before checking validityMichael Goulet-9/+14
2024-01-23Auto merge of #119044 - RalfJung:intern-without-types, r=oli-obkbors-5/+5
2024-01-22raw pointers are not referencesRalf Jung-5/+5
2024-01-19Validate AggregateKind types in MIRMichael Goulet-1/+61
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-3/+3
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-3/+3
2024-01-11Stop using `DiagnosticBuilder::buffer` in `Checker`.Nicholas Nethercote-5/+8
2024-01-09Rollup merge of #119668 - cjgillot:transform-promote, r=oli-obkGuillaume Gomez-1026/+0
2024-01-09Rollup merge of #119725 - compiler-errors:has_effect_param, r=fmeaseMatthias Krüger-3/+1
2024-01-08Move promote_consts back to rustc_mir_transform.Camille GILLOT-1026/+0
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-08Add helper for when we want to know if an item has a host paramMichael Goulet-3/+1
2024-01-06Don't populate yield and resume types after the factMichael Goulet-1/+1
2024-01-04Migrate memory overlap check from validator to lintTomasz Miąsko-43/+3
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-1/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-1/+1
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-2/+11
2023-12-25Only regular coroutines have movabilityMichael Goulet-2/+11
2023-12-24Remove more `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-33/+36
2023-12-23Auto merge of #119072 - fee1-dead-contrib:effects-fixes, r=compiler-errorsbors-147/+40
2023-12-22Rollup merge of #119198 - compiler-errors:desugaring, r=eholkMichael Goulet-4/+16
2023-12-22Rollup merge of #119171 - nnethercote:cleanup-errors-4, r=compiler-errorsMichael Goulet-106/+22
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-106/+22
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-4/+16
2023-12-22clean up `check_consts` checksDeadbeef-147/+40
2023-12-21Add pass to identify undefined or erroneous behaviourTomasz Miąsko-47/+3
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-3/+3
2023-12-14Rollup merge of #118933 - nnethercote:cleanup-errors-even-more, r=compiler-er...Jubilee-2/+2
2023-12-15Split `Handler::emit_diagnostic` in two.Nicholas Nethercote-2/+2
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-2/+1
2023-12-10Auto merge of #118692 - surechen:remove_unused_imports, r=petrochenkovbors-1/+1
2023-12-10remove redundant importssurechen-1/+1
2023-12-09s/const_effect/host_effectMichael Goulet-1/+1
2023-12-07Fix const drop checkingMichael Goulet-20/+30
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-6/+8
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-2/+2
2023-11-25Rollup merge of #117871 - klensy:unused-pub, r=cjgillotGuillaume Gomez-33/+0
2023-11-25Auto merge of #118075 - tmiasko:validate-critical-call-edges, r=cjgillotbors-0/+22
2023-11-23few moreklensy-33/+0
2023-11-22Validate there are no critical call edges in optimized MIRTomasz Miąsko-0/+22
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-15/+15
2023-11-17replace unnecessary folder impls with fold_regionlcnr-2/+1
2023-11-08rename `BorrowKind::Shallow` to `Fake`lcnr-7/+7
2023-10-31Enums in offset_of: update based on est31, scottmcm & llogiq reviewGeorge Bateman-24/+12
2023-10-31Support enum variants in offset_of!George Bateman-11/+22
2023-10-25Refactor away the need for some `descr` methods.Oli Scherer-1/+1
2023-10-25Rename `AsyncCoroutineKind` to `CoroutineSource`Oli Scherer-2/+2
2023-10-20Rename `CoroutineKind::Gen` to `::Coroutine`Oli Scherer-1/+1