about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2022-03-31obligation cause: `RepeatVec` -> `RepeatValueCopy`lcnr-1/+1
2022-03-31Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errorsDylan DPC-8/+8
2022-03-30Auto merge of #95436 - cjgillot:static-mut, r=oli-obkbors-5/+5
2022-03-30Addressed comments by @compiler-errors and @bjorn3Yuri Astrakhan-3/+3
2022-03-30Spellchecking compiler commentsYuri Astrakhan-9/+9
2022-03-30Auto merge of #95466 - Dylan-DPC:rollup-g7ddr8y, r=Dylan-DPCbors-1/+1
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-5/+5
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-2/+4
2022-03-23dont use a query for lit_to_constantb-naber-13/+8
2022-03-23use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_...b-naber-9/+8
2022-03-23use ParamConst in ExprKind::ConstParamb-naber-11/+7
2022-03-23remove thir::Visitor::visit_constb-naber-14/+3
2022-03-23change thir to lazily create constantsb-naber-117/+200
2022-03-17Rollup merge of #94960 - codehorseman:master, r=oli-obkDylan DPC-1/+1
2022-03-16rustc_error: make ErrorReported impossible to constructmark-21/+42
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
2022-03-16Extend the irrefutable_let_patterns lint to let chainsest31-35/+180
2022-03-15fix typosDylan DPC-1/+1
2022-03-12Fix rebase conflicts with stderr filesDevin Ragotzy-1/+1
2022-03-12Only filter doc(hidden) fields/variants when not crate localDevin Ragotzy-3/+3
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-55/+53
2022-03-10Auto merge of #94059 - b-naber:constantkind-val-transformation, r=lcnrbors-8/+11
2022-03-09Rollup merge of #94739 - estebank:suggest-let-else, r=oli-obkMatthias Krüger-7/+79
2022-03-09treat all mir::Constant values as ConstantKind::Valb-naber-8/+11
2022-03-08Auto merge of #94702 - b-naber:static-refs-mir, r=lcnrbors-12/+9
2022-03-08Do not suggest `let_else` if no bindings would be introducedEsteban Kuber-1/+1
2022-03-08Suggest `if let`/`let_else` for refutable pat in `let`Esteban Kuber-7/+79
2022-03-08treat literals in ExprKind::StaticRef as mir::ConstantKind::Valb-naber-12/+9
2022-03-08Change wording of suggestion to add missing `match` armEsteban Kuber-5/+24
2022-03-08Point at uncovered variants in enum definition in `note` instead of a `span_l...Esteban Kuber-7/+19
2022-03-08When finding a match expr with multiple arms that requires more, suggest itEsteban Kuber-0/+15
2022-03-08When finding a match expr with a single arm that requires more, suggest itEsteban Kuber-0/+15
2022-03-08When encountering a match expr with no arms, suggest itEsteban Kuber-12/+54
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-4/+4
2022-02-286 - Make more use of `let_chains`Caio-118/+97
2022-02-25Enable rustc_pass_by_value for SpanMark Rousskov-3/+3
2022-02-25Switch bootstrap cfgsMark Rousskov-1/+1
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-2/+8
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-8/+3
2022-02-21Auto merge of #93505 - lcnr:substsref-vs-ty-list, r=michaelwoeristerbors-7/+4
2022-02-21use `List<Ty<'tcx>>` for tupleslcnr-7/+4
2022-02-20Revert "Auto merge of #93800 - b-naber:static-initializers-mir-val, r=oli-obk"Mark Rousskov-9/+12
2022-02-20Auto merge of #93678 - steffahn:better_unsafe_diagnostics, r=nagisabors-17/+5
2022-02-20Improve `unused_unsafe` lintFrank Steffahn-17/+5
2022-02-20Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obkbors-1/+1
2022-02-19Adopt let else in more placesest31-48/+27
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-1/+1
2022-02-15use AllocId and Ty in ExprKind::StaticRef and delay ConstValue constructionb-naber-15/+7
2022-02-15use ConstantKind::Val in StaticRefb-naber-1/+6