about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2023-11-07Auto merge of #117229 - matthewjasper:thir-unsafeck-fixes, r=cjgillotbors-19/+115
2023-11-06Build a better MIR body when errors are encounteredMichael Goulet-29/+59
2023-11-06Visit patterns in THIR let expressionsMatthew Jasper-8/+0
2023-11-06Add suggestion to THIR unsafe_op_in_unsafe_fn lintMatthew Jasper-10/+112
2023-11-06Recognise thread local statics in THIR unsafeckMatthew Jasper-1/+3
2023-11-04Suggest to set lint level on whole matchNadrieril-16/+37
2023-11-04Warn when lint level is set on a match armNadrieril-21/+49
2023-11-04Rollup merge of #117343 - Nadrieril:cleanup_check_match, r=davidtwcoTakayuki Maeda-434/+400
2023-11-03Tweak spans for "adt defined here" noteNadrieril-6/+1
2023-11-03Accumulate let chains alongside the visitNadrieril-76/+78
2023-11-03clone lessMatthias Krüger-1/+1
2023-11-02Cleanup check_match code pathsNadrieril-110/+104
2023-11-02Factor out pointing at ADT definitionNadrieril-44/+41
2023-11-02Always do all the pattern checksNadrieril-60/+60
2023-11-02Tweak diagnostic for consistencyNadrieril-4/+2
2023-11-02Check pattern error while loweringNadrieril-42/+29
2023-11-02Uncomplicate check_let_chainNadrieril-45/+35
2023-11-02ReorderNadrieril-148/+151
2023-11-01Auto merge of #114208 - GKFX:offset_of_enum, r=wesleywiserbors-1/+1
2023-11-01Auto merge of #116692 - Nadrieril:half-open-ranges, r=cjgillotbors-354/+401
2023-10-31Support enum variants in offset_of!George Bateman-1/+1
2023-10-30Some more coroutine renamingsMichael Goulet-8/+13
2023-10-30Auto merge of #117415 - matthiaskrgr:rollup-jr2p1t2, r=matthiaskrgrbors-1/+1
2023-10-30Rollup merge of #117398 - Nadrieril:fix-117378, r=compiler-errorsMatthias Krüger-1/+1
2023-10-30Correctly handle nested or-patterns in column-wise analysesNadrieril-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-7/+7
2023-10-27Auto merge of #103208 - cjgillot:match-fake-read, r=oli-obk,RalfJungbors-29/+39
2023-10-27Make IntRange exclusiveNadrieril-57/+65
2023-10-27s/to_pat/to_diagnostic_pat/Nadrieril-21/+33
2023-10-27Match usize/isize exhaustivelyNadrieril-50/+113
2023-10-27Propagate half-open ranges through exhaustiveness checkingNadrieril-102/+158
2023-10-27Inline `RangeInclusive` into `IntRange`Nadrieril-41/+33
2023-10-27Don't use `IntRange` for booleansNadrieril-14/+56
2023-10-27Propagate half-open ranges through THIRNadrieril-15/+16
2023-10-27Abstract over `PatRange` boundary valueNadrieril-169/+42
2023-10-27Handle `ty::Opaque` correctlyNadrieril-1/+16
2023-10-27Lint overlapping ranges as a separate passNadrieril-89/+91
2023-10-27Abstract over per-column pattern traversalNadrieril-36/+77
2023-10-26Auto merge of #113262 - Nilstrieb:rawr-casting, r=lcnrbors-19/+13
2023-10-25Use let chains instead of let elseNilstrieb-19/+13
2023-10-25Make THIR unused_unsafe lint consistent with MIRMatthew Jasper-74/+86
2023-10-25Auto merge of #116482 - matthewjasper:thir-unsafeck-inline-constants, r=b-naberbors-33/+79
2023-10-24Update documentation.Camille GILLOT-3/+3
2023-10-24Use `PlaceMention` for match scrutinees.Camille GILLOT-26/+36
2023-10-21Fix #117033Nadrieril-0/+3
2023-10-21Auto merge of #116734 - Nadrieril:lint-per-column, r=cjgillotbors-243/+326
2023-10-20s/generator/coroutine/Oli Scherer-56/+56
2023-10-20s/Generator/Coroutine/Oli Scherer-20/+20
2023-10-18coverage: Attach an optional `FunctionCoverageInfo` to `mir::Body`Zalathar-0/+1
2023-10-16Address review commentsMatthew Jasper-59/+42