about summary refs log tree commit diff
path: root/compiler/rustc_passes
AgeCommit message (Expand)AuthorLines
2022-07-13remove untagged_union feature gateRalf Jung-66/+2
2022-07-13also allow arrays of allowed typesRalf Jung-0/+5
2022-07-13allow unions with mutable references and tuples of allowed typesRalf Jung-5/+22
2022-07-13factor 'is this type allowed as union field on stable' into separate functionRalf Jung-3/+11
2022-07-13Rollup merge of #99011 - oli-obk:UnsoundCell, r=eddybDylan DPC-19/+2
2022-07-12Add an indirection for closures in `hir::ExprKind`Maybe Waffle-2/+11
2022-07-11move else block into the `Local` structDing Xiang Fei-10/+10
2022-07-11lower let-else in MIR insteadDing Xiang Fei-13/+48
2022-07-08fixes post rebaseJane Losare-Lusby-1/+1
2022-07-08add opt in attribute for stable-in-unstable itemsJane Lusby-2/+20
2022-07-08clarify commentJane Lusby-2/+2
2022-07-08update commentJane Lusby-1/+4
2022-07-08Support unstable moves via stable in unstable itemsJane Lusby-2/+27
2022-07-07Reword comments and rename HIR visiting methods.Camille GILLOT-8/+8
2022-07-07`UnsafeCell` now has no niches, ever.Oli Scherer-19/+2
2022-07-07Auto merge of #98841 - Kobzol:hir-validator-bitset, r=cjgillotbors-19/+22
2022-07-05Rollup merge of #98624 - davidtwco:translation-on-lints, r=compiler-errorsDylan DPC-1/+1
2022-07-04Only validate HIR with `debug_assertions` onJakub Beránek-19/+22
2022-07-04Use a bitset instead of a hash map in HIR ID validatorJakub Beránek-4/+4
2022-07-04Rollup merge of #98501 - Enselic:err_if_attr_found, r=compiler-errorsMatthias Krüger-12/+14
2022-07-01Auto merge of #98402 - cjgillot:undead, r=michaelwoeristerbors-279/+150
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-1/+1
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-5/+2
2022-06-25rustc_passes: De-duplicate more code with `fn throw_attr_err()`Martin Nordholts-12/+14
2022-06-24Rollup merge of #98394 - Enselic:fixup-rustc_main-renames, r=petrochenkovYuki Okushi-5/+5
2022-06-24Rollup merge of #98214 - petrochenkov:islike, r=compiler-errorsYuki Okushi-1/+1
2022-06-22Rewrite dead-code pass to avoid fetching HIR.Camille GILLOT-168/+89
2022-06-22Uniform spans in dead code lint.Camille GILLOT-96/+52
2022-06-22Simplify match.Camille GILLOT-5/+3
2022-06-22Mark inherent impls as using the type during liveness collection.Camille GILLOT-25/+21
2022-06-22Fixup missing renames from `#[main]` to `#[rustc_main]`Martin Nordholts-5/+5
2022-06-22Auto merge of #97853 - TaKO8Ki:emit-only-one-note-per-unused-struct-field, r=...bors-73/+200
2022-06-21Remove `#[doc(hidden)]` logic from `unused_attributes` lintLeón Orell Valerian Liehr-74/+2
2022-06-19collapse dead code warnings into a single diagnosticTakayuki Maeda-70/+182
2022-06-19emit only one note per unused struct fieldTakayuki Maeda-36/+51
2022-06-18Auto merge of #98153 - nnethercote:fix-MissingDoc-quadratic-behaviour, r=cjgi...bors-2/+2
2022-06-18rustc_target: Remove some redundant target propertiesVadim Petrochenkov-1/+1
2022-06-18Remove a possible unnecessary assignmentYuki Okushi-2/+0
2022-06-16Auto merge of #97842 - notriddle:notriddle/tuple-docs, r=jsha,GuillaumeGomezbors-1/+40
2022-06-16Remove unused `hir_id` arg from `visit_attribute`.Nicholas Nethercote-2/+2
2022-06-15Rollup merge of #98115 - jhpratt:remove-rustc_deprecated, r=compiler-errorsYuki Okushi-3/+1
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-12/+12
2022-06-15Rollup merge of #98067 - klensy:compiler-deps2, r=Dylan-DPCYuki Okushi-1/+0
2022-06-14Remove `rustc_deprecated` diagnosticsJacob Pratt-3/+1
2022-06-14Rollup merge of #97948 - davidtwco:diagnostic-translation-lints, r=oli-obkDylan DPC-6/+23
2022-06-13remove currently unused depsklensy-1/+0
2022-06-13rustdoc: add missing articleMichael Howell-1/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-9/+9
2022-06-12rustdoc: change error message for invalid `#[doc(tuple_variadic)]`Michael Howell-1/+1
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-12/+12