about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern
AgeCommit message (Expand)AuthorLines
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-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-20Fix ICE when `indirect_structural_match` is allowedFabian Wolff-6/+8
2021-09-14Add reachable_patterns lint to rfc-2008-non_exhaustiveDevin Ragotzy-51/+170
2021-08-30Handle irrufutable or unreachable let-elseCameron Steffen-1/+20
2021-08-30Calculate LetSource laterCameron Steffen-40/+42
2021-08-29Auto merge of #88088 - nbdd0121:const2, r=nagisabors-1/+6
2021-08-26add `tcx` to `fn walk`lcnr-1/+1
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-18Remove box syntax from rustc_mir_buildest31-1/+1
2021-08-16Forbid inline const block referencing params from being used in patternsGary Guo-1/+6
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-63/+129
2021-07-27Auto merge of #80367 - camelid:check_match-combine-loop, r=Nadrierilbors-8/+3
2021-07-27Auto merge of #85305 - MarcusDunn:master, r=pnkfelixbors-48/+1
2021-07-22Combine two loops in `check_match`Camelid-8/+3
2021-07-18Revert "structural_match: non-structural-match ty closures"Santiago Pastorino-3/+0
2021-07-17Auto merge of #87123 - RalfJung:miri-provenance-overhaul, r=oli-obkbors-1/+1
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-15/+2
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-15/+2
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-1/+1
2021-07-15Remove refs from pat slicesCameron Steffen-4/+4
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-1/+1
2021-07-11Fix ICE with unsized type in const patternFabian Wolff-11/+23
2021-07-05Fix double warning about illegal floating-point literal patternFabian Wolff-6/+8
2021-06-19Assert `is_associated_const` when resolvingYuki Okushi-3/+4
2021-06-19Refactor `PatternError` structureYuki Okushi-5/+4
2021-06-04removed unneeded brackets on importmarcusdunn-1/+1
2021-06-04removed conditional check on bindings_after_at and resulting dead codemarcusdunn-48/+1
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-1/+1
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-371/+54
2021-05-14Auto merge of #85233 - FabianWolff:issue-85227, r=petrochenkovbors-1/+10
2021-05-12Improve error message for non-exhaustive matches on non-exhaustive enumsFabian Wolff-1/+10
2021-05-11Store VariantIdx to distinguish enum variantsMark Rousskov-10/+7
2021-03-29Convert a closure into a methodOli Scherer-12/+14
2021-03-14Rollup merge of #82789 - csmoe:issue-82772, r=estebankYuki Okushi-1/+3