summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-17/+34
2022-05-06`mirror_expr` cleanuplcnr-21/+16
2022-05-02fix most compiler/ doctestsElliot Roberts-17/+34
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-2/+2
2022-04-16Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnrDylan DPC-1/+1
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-85/+46
2022-04-13couple of clippy::perf fixesMatthias Krüger-1/+1
2022-04-13Auto merge of #94255 - b-naber:use-mir-constant-in-thir, r=oli-obkbors-16/+21
2022-04-08dont make lit_to_mir_constant a queryb-naber-51/+0
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-1/+1
2022-04-06get rid of visit_constant in thir visitorb-naber-4/+2
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-04-02rebase and remove dead codeb-naber-25/+2
2022-04-02try to evaluate in from_opt_const_arg_anon_constb-naber-2/+5
2022-04-02rebase and use ty::Const in patterns againb-naber-1/+52
2022-04-02do use ty::Const in patterns and abstract constsb-naber-80/+60
2022-04-02change thir to use mir::ConstantKind instead of ty::Constb-naber-58/+105
2022-03-31obligation cause: `RepeatVec` -> `RepeatValueCopy`lcnr-1/+1
2022-03-31Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errorsDylan DPC-5/+5
2022-03-30Addressed comments by @compiler-errors and @bjorn3Yuri Astrakhan-1/+1
2022-03-30Spellchecking compiler commentsYuri Astrakhan-5/+5
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-3/+3
2022-03-23use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_...b-naber-1/+1
2022-03-23use ParamConst in ExprKind::ConstParamb-naber-9/+3
2022-03-23remove thir::Visitor::visit_constb-naber-1/+0
2022-03-23change thir to lazily create constantsb-naber-102/+58
2022-03-17Rollup merge of #94960 - codehorseman:master, r=oli-obkDylan DPC-1/+1
2022-03-16rustc_error: make ErrorReported impossible to constructmark-17/+29
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-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-38/+36
2022-03-10Auto merge of #94059 - b-naber:constantkind-val-transformation, r=lcnrbors-0/+3
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-0/+3
2022-03-08Auto merge of #94702 - b-naber:static-refs-mir, r=lcnrbors-10/+2
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-10/+2
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-2/+2
2022-02-286 - Make more use of `let_chains`Caio-66/+54
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-6/+3