summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2024-01-31Rollup merge of #120472 - Nilstrieb:die, r=compiler-errorsNadrieril-1/+3
2024-01-30Rollup merge of #118533 - chenyukang:yukang-fix-118455, r=petrochenkovGuillaume Gomez-1/+11
2024-01-30Rollup merge of #120488 - nnethercote:diag-lifetimes, r=oli-obkGuillaume Gomez-1/+1
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1
2024-01-29Make duplicate lang items fatalNilstrieb-1/+3
2024-01-29Rollup merge of #120428 - petrochenkov:somehir2, r=compiler-errorsDylan DPC-5/+0
2024-01-29Supress unhelpful diagnostics for unresolved top level attributesyukang-1/+11
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-50/+50
2024-01-28hir: Remove unnecessary `HirId` from `hir::Let`Vadim Petrochenkov-5/+0
2024-01-25Rebase slice_group_by stabilization PRDavid Tolnay-2/+1
2024-01-19Rollup merge of #120107 - shepmaster:dead-code-repr-transparent, r=NilstriebMatthias Krüger-8/+10
2024-01-18`dead_code` treats `#[repr(transparent)]` the same as `#[repr(C)]`Jake Goulding-8/+10
2024-01-18Rollup merge of #119967 - ShE3py:patkind-err, r=WaffleLapkinMatthias Krüger-2/+4
2024-01-17Rollup merge of #120020 - oli-obk:long_const_eval_err_taint, r=compiler-errorsMatthias Krüger-1/+4
2024-01-17Add `PatKind::Err`Lieselotte-2/+4
2024-01-16Skip dead code checks on items that failed typeckOli Scherer-1/+4
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-2/+2
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-12/+11
2024-01-12Delegation implementation: step 1Bryanskiy-21/+28
2024-01-10Stop mentioning internal lang items in no_std binary errorsNilstrieb-1/+11
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-3/+2
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-1/+1
2024-01-08Remove `DiagnosticBuilder::delay_as_bug_without_consuming`.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2024-01-06Auto merge of #119531 - petrochenkov:cmpctxt, r=cjgillotbors-1/+1
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+1
2024-01-05Auto merge of #119634 - matthiaskrgr:rollup-v2xt7et, r=matthiaskrgrbors-15/+6
2024-01-05Rollup merge of #119554 - matthewjasper:remove-guard-distinction, r=compiler-...Matthias Krüger-15/+6
2024-01-05Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillotbors-10/+9
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-22/+22
2024-01-05Remove `hir::Guard`Matthew Jasper-15/+6
2024-01-05Auto merge of #118297 - shepmaster:warn-dead-tuple-fields, r=WaffleLapkinbors-23/+35
2024-01-04Address review comments and add back some #[inline] attrs from removed commits.Michael Woerister-2/+0
2024-01-04Replace a number of FxHashMaps/Sets with stable-iteration-order alternatives.Michael Woerister-8/+9
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-22/+22
2024-01-02Merge `unused_tuple_struct_fields` into `dead_code`Jake Goulding-23/+35
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-1/+1
2023-12-29Rollup merge of #119402 - est31:fix_if_guard_unused, r=compiler-errorsMatthias Krüger-0/+3
2023-12-29Also walk bindings created by if-let guardsest31-0/+3
2023-12-28Use `Pat::walk_always` instead of manual walkNilstrieb-29/+6
2023-12-27move walk_expr outside of every match branchzetanumbers-8/+2
2023-12-26Rollup merge of #119297 - cjgillot:issue-119267, r=petrochenkovMichael Goulet-62/+46
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-10/+9
2023-12-25Only regular coroutines have movabilityMichael Goulet-7/+4
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-10/+12
2023-12-25Pass DeadItem and lint as consistent group in dead-code.Camille GILLOT-62/+46
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-153/+168
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-46/+28
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-46/+28