about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-4/+4
2023-12-20coverage: Check for `async fn` explicitly, without needing a heuristicZalathar-12/+11
2023-12-20coverage: Pass around `&ExtractedHirInfo` instead of individual fieldsZalathar-29/+16
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-4/+4
2023-12-18Auto merge of #119069 - matthiaskrgr:rollup-xxk4m30, r=matthiaskrgrbors-4/+15
2023-12-18Rollup merge of #118852 - Zalathar:no-spans, r=cjgillotMatthias Krüger-4/+15
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-6/+3
2023-12-18Rename `DiagnosticBuilder::handler` as `DiagnosticBuilder::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+6
2023-12-17Avoid overflow in GVN constant indexing.Camille GILLOT-5/+3
2023-12-15Rollup merge of #119004 - matthiaskrgr:conv, r=compiler-errorsJubilee-1/+1
2023-12-16Simplify lint decorator derive tooMichael Goulet-17/+3
2023-12-16coverage: Skip instrumenting a function if no spans were extractedZalathar-4/+15
2023-12-15NFC don't convert types to identical typesMatthias Krüger-1/+1
2023-12-15Auto merge of #118966 - matthiaskrgr:rollup-sdvjwy6, r=matthiaskrgrbors-70/+77
2023-12-15Rollup merge of #118929 - Zalathar:look-hir, r=cjgillotMatthias Krüger-70/+77
2023-12-15Auto merge of #118770 - saethlin:fix-inline-never-uses, r=nnethercotebors-7/+12
2023-12-14Rollup merge of #118933 - nnethercote:cleanup-errors-even-more, r=compiler-er...Jubilee-1/+1
2023-12-15coverage: Check that the function signature span precedes the bodyZalathar-2/+4
2023-12-15coverage: Compare span source files without involving `Lrc<SourceFile>`Zalathar-11/+14
2023-12-15coverage: Inline and simplify `fn_sig_and_body`Zalathar-14/+9
2023-12-15coverage: Use `LocalDefId` in `extract_hir_info`Zalathar-10/+8
2023-12-15coverage: Extract helper for getting HIR info for coverageZalathar-28/+35
2023-12-15coverage: Don't bother storing the source file in `Instrumentor`Zalathar-4/+3
2023-12-15coverage: Extract `is_eligible_for_coverage`Zalathar-14/+25
2023-12-15coverage: Simplify parts of `InstrumentCoverage::run_pass`Zalathar-8/+6
2023-12-15coverage: Assert that the instrumentor never sees promoted MIRZalathar-9/+3
2023-12-14Fix cases where std accidentally relied on inline(never)Ben Kimock-7/+12
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-1/+1
2023-12-13Auto merge of #118500 - ZetaNumbers:tcx_hir_refactor, r=petrochenkovbors-1/+1
2023-12-12clippy::complexity fixesMatthias Krüger-1/+1
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-12-11Remove redundant special case for resume argumentTomasz Miąsko-7/+0
2023-12-11End locals' live range before suspending coroutineTomasz Miąsko-1/+15
2023-12-10remove redundant importssurechen-48/+6
2023-12-09Rollup merge of #118764 - compiler-errors:fused-async-iterator, r=eholkJubilee-11/+33
2023-12-09Rollup merge of #118666 - Zalathar:body-closure, r=cjgillotJubilee-31/+26
2023-12-09Rollup merge of #118198 - Zalathar:if-not, r=cjgillotJubilee-3/+12
2023-12-08Make async generators fused by defaultMichael Goulet-11/+33
2023-12-08Implement `async gen` blocksMichael Goulet-2/+28
2023-12-08Rework coroutine transform to be more flexible in preparation for async gener...Michael Goulet-80/+123
2023-12-08coverage: Add `#[track_caller]` to the span generator's unwrap methodsZalathar-14/+12
2023-12-08coverage: Simplify the heuristic for ignoring `async fn` return spansZalathar-17/+14
2023-12-08coverage: Add `CoverageKind::SpanMarker` for including extra spans in MIRZalathar-3/+12
2023-12-08Rollup merge of #118695 - Zalathar:push-refined, r=davidtwcoMatthias Krüger-50/+37
2023-12-08Rollup merge of #118690 - Zalathar:test-macros, r=cjgillotMatthias Krüger-75/+33
2023-12-07Auto merge of #118324 - RalfJung:ctfe-read-only-pointers, r=saethlinbors-8/+10
2023-12-07compile-time evaluation: emit a lint when a write through an immutable pointe...Ralf Jung-2/+4
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-6/+6