about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
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-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
2021-09-14Add reachable_patterns lint to rfc-2008-non_exhaustiveDevin Ragotzy-51/+170
2021-09-09remove debug stmtsEllen-4/+0
2021-09-09move thir visitor to rustc_middleEllen-241/+0
2021-09-09WIP stateEllen-0/+4
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-1/+5
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-26make unevaluated const substs optionallcnr-8/+6
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-18Remove box syntax from rustc_mir_buildest31-10/+10
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/+135
2021-07-28Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obkbors-0/+7
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-24Support -Z unpretty=thir-tree againSmitty-0/+7
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-3/+7
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-28/+11
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-28/+11
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-3/+7
2021-07-11Fix ICE with unsized type in const patternFabian Wolff-11/+23
2021-07-09Auto merge of #85263 - Smittyvb:thir-unsafeck-union-field, r=oli-obkbors-3/+3