about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2022-02-12change to a struct variantEllen-1/+1
2022-01-21Remove a span from hir::ExprKind::MethodCallCameron Steffen-2/+2
2022-01-18Formally implement let chainsCaio-9/+35
2022-01-17Auto merge of #90986 - camsteffen:nested-filter, r=cjgillotbors-7/+1
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-6/+0
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-7/+1
2022-01-16Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnrbors-1/+1
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-28/+26
2022-01-15attempt to re-add `ty::Unevaluated` visitor and friendsEllen-8/+6
2022-01-15initial revertEllen-7/+9
2022-01-13Auto merge of #89861 - nbdd0121:closure, r=wesleywiserbors-2/+2
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-6/+0
2022-01-11Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`Aaron Hill-3/+3
2022-01-07Remove region from UpvarCapture and move it to CapturedPlaceGary Guo-1/+1
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-1/+1
2021-12-23implement `generic_arg_infer` for array lengthslcnr-3/+6
2021-12-19Rollup merge of #91791 - terrarier2111:fix-float-ice, r=nagisaMatthias Krüger-9/+13
2021-12-19Fix an ICE when lowering a float with missing exponent magnitudethreadexception-9/+13
2021-12-13let-else: add hir::Let and type check it like a hir::LocalCormac Relf-6/+9
2021-12-05Evaluate inline const pat early and report error if too genericGary Guo-31/+52
2021-11-23Fix stack overflow in `usefulness.rs`Badel2-4/+7
2021-11-21Simplify for loop desugarCameron Steffen-7/+14
2021-11-12Auto merge of #90813 - notriddle:notriddle/vec-extend, r=GuillaumeGomezbors-3/+1
2021-11-11Use `Vec::extend`, instead of calling `Vec::push` in a loopMichael Howell-3/+1
2021-11-11Auto merge of #90746 - nnethercote:opt-pattern-matching, r=Nadrierilbors-1/+1
2021-11-09Change the `assert` in `is_useful` to a `debug_assert`.Nicholas Nethercote-1/+1
2021-11-07Implement type inference for inline constsGary Guo-2/+2
2021-10-19Reject closures in patternsTomasz Miąsko-0/+3
2021-10-12Filter unstable and doc hidden variants in usefulness checkingDevin Ragotzy-35/+82
2021-10-08clippy::complexity fixesMatthias Krüger-3/+1
2021-10-01Rollup merge of #89441 - Nadrieril:fix-89393, r=tmandryManish Goregaokar-3/+4
2021-10-01Normalize after substituting via `field.ty()`Nadrieril-3/+4
2021-09-30Rollup merge of #89314 - notriddle:notriddle/lint-fix-enum-variant-match, r=d...Manish Goregaokar-19/+36
2021-09-30Auto merge of #89110 - Aaron1011:adjustment-span, r=estebankbors-2/+27
2021-09-29fix(lint): don't suggest refutable patterns to "fix" irrefutable bindMichael Howell-19/+36
2021-09-29Auto merge of #88950 - Nadrieril:deconstruct-pat, r=oli-obkbors-977/+794
2021-09-26Trivialize tracking of unreachable subpatternsNadrieril-297/+95
2021-09-26Avoid double-deref in `Fields`Nadrieril-35/+31
2021-09-26Replace `Pat` with a new intermediate representationNadrieril-489/+615
2021-09-26Remove dependency of `SubPatSet` on `Pat`Nadrieril-27/+23
2021-09-26Move special `&str` handling to `Constructor` and `Fields`Nadrieril-21/+21
2021-09-26Use usize for slice arityNadrieril-15/+15
2021-09-26Rework `Fields` internals.Nadrieril-240/+195
2021-09-26A for loop is a lot faster apparentlyNadrieril-29/+9
2021-09-26Cleanup the reporting of unreachable patternsNadrieril-20/+14
2021-09-26Always report reachability for user-supplied patternsNadrieril-8/+3
2021-09-26Remove some unreachable codeNadrieril-20/+11
2021-09-26Remove premature shortcuttingNadrieril-26/+12
2021-09-25Use larger span for adjustments on method callsAaron Hill-2/+27
2021-09-20Fix ICE when `indirect_structural_match` is allowedFabian Wolff-6/+8