about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2022-07-07Make MIR basic blocks field publicTomasz Miąsko-3/+5
2022-07-06Update TypeVisitor pathsAlan Egerton-1/+1
2022-07-05Auto merge of #98925 - Dylan-DPC:rollup-9185c9y, r=Dylan-DPCbors-1/+1
2022-07-05Rollup merge of #98624 - davidtwco:translation-on-lints, r=compiler-errorsDylan DPC-1/+1
2022-07-05Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJungbors-6/+28
2022-07-05Prefer trace level instrumentation for the new noisy instrument attributesOli Scherer-2/+2
2022-07-02Rollup merge of #98639 - camsteffen:no-node-binding, r=compiler-errorsDylan DPC-2/+2
2022-07-01Factor out hir::Node::BindingCameron Steffen-2/+2
2022-07-01Auto merge of #98402 - cjgillot:undead, r=michaelwoeristerbors-22/+1
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-1/+1
2022-06-30Change enum->int casts to not go through MIR casts.Oli Scherer-4/+25
2022-06-29Rollup merge of #98668 - TaKO8Ki:avoid-many-&str-to-string-conversions, r=Dyl...Matthias Krüger-1/+1
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-1/+1
2022-06-29Some tracing cleanupsOli Scherer-2/+3
2022-06-29Auto merge of #98558 - nnethercote:smallvec-1.8.1, r=lqdbors-1/+1
2022-06-28Do not use a suggestion to change a binding's name to a typeMichael Goulet-1/+5
2022-06-27Update `smallvec` to 1.8.1.Nicholas Nethercote-1/+1
2022-06-25Rollup merge of #98429 - b-naber:use-correct-substs-discriminant-cast, r=lcnrMatthias Krüger-92/+94
2022-06-24fmtb-naber-8/+6
2022-06-24address reviewb-naber-14/+14
2022-06-24small refactorb-naber-95/+96
2022-06-24use correct substs in enum discriminant hackb-naber-1/+4
2022-06-23Remove dead code.Camille GILLOT-22/+1
2022-06-20Rollup merge of #98267 - compiler-errors:suggest-wildcard-arm, r=oli-obkMatthias Krüger-11/+23
2022-06-20Auto merge of #97931 - xldenis:fix-if-let-source-scopes, r=nagisabors-12/+51
2022-06-19Be more hygenic with spansMichael Goulet-6/+7
2022-06-19Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()`Michael Goulet-4/+4
2022-06-19Only omit trailing comma if block doesn't come from macro expansionMichael Goulet-3/+14
2022-06-16compare_const_vals: add a special case for certain ranges.Nicholas Nethercote-4/+19
2022-06-16compare_const_vals: Use infallible evaluation.Nicholas Nethercote-27/+23
2022-06-16Remove `ty` arg from `compare_const_vals`.Nicholas Nethercote-21/+8
2022-06-16Remove `from_bool` closure.Nicholas Nethercote-4/+2
2022-06-16Inline and remove `fallback` closure.Nicholas Nethercote-3/+1
2022-06-16Remove one use of `compare_const_vals`.Nicholas Nethercote-15/+2
2022-06-16Assert type equality of `a` and `b` in `compare_const_vals`.Nicholas Nethercote-1/+3
2022-06-16Remove dead code from `compare_const_vals`.Nicholas Nethercote-11/+0
2022-06-16simplify_match_pair: avoid the second comparison if possible.Nicholas Nethercote-9/+12
2022-06-16sort_candidates: avoid the second comparison if possible.Nicholas Nethercote-25/+19
2022-06-16const_range_contains: avoid the second comparison if possible.Nicholas Nethercote-8/+11
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-3/+3
2022-06-14Only create scopes for if letXavier Denis-4/+20
2022-06-14rebaseb-naber-1/+2
2022-06-14address reviewb-naber-72/+59
2022-06-14address reviewb-naber-57/+3
2022-06-14fix clippy test failuresb-naber-1/+1
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-93/+169
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-4/+4
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-3/+3
2022-06-10Actually fixXavier Denis-19/+23
2022-06-10Revert "More minimal changes"Xavier Denis-14/+27