about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/liveness.rs
AgeCommit message (Expand)AuthorLines
2022-05-13remove ItemLikeVisitor and DeepVisitorMiguel Guarniz-1/+1
2022-05-09use hir::Let in hir::GuardSparrowLii-5/+5
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-3/+3
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-4/+6
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+2
2022-02-285 - Make more use of let_chainsCaio-6/+5
2022-02-19Adopt let else in more placesest31-3/+2
2022-01-17Auto merge of #90986 - camsteffen:nested-filter, r=cjgillotbors-11/+5
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-36/+0
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-11/+5
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-36/+0
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-2/+2
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-1/+1
2021-12-18Rollup merge of #91896 - pitaj:91867-passes, r=michaelwoeristerMatthias Krüger-1/+1
2021-12-15Remove `in_band_lifetimes` for `rustc_passes`Peter Jaszkowiak-1/+1
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-13let-else: add hir::Let and type check it like a hir::LocalCormac Relf-7/+7
2021-10-05Rollup merge of #88871 - FabianWolff:issue-88403, r=jackh726Manish Goregaokar-8/+15
2021-09-12Fix suggestion for nested struct patternsFabian Wolff-8/+15
2021-09-11don't convert types into identical typesMatthias Krüger-2/+2
2021-08-25Auto merge of #84333 - tmiasko:liveness-yield, r=tmandrybors-3/+11
2021-08-24Auto merge of #88271 - sexxi-goose:liveness, r=nikomatsakisbors-30/+6
2021-08-24Improve liveness analysis for generatorsTomasz Miąsko-3/+11
2021-08-24Auto merge of #85556 - FabianWolff:issue-85071, r=estebank,jackh726bors-31/+72
2021-08-232229: Consider varaiables mentioned in closure as usedAman Arora-30/+6
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-2/+15
2021-08-04Disable unused variable lint for naked functionsNathaniel McCallum-0/+5
2021-05-22Small refactoring in `liveness.rs`Fabian Wolff-51/+21
2021-05-21Warn about unreachable code following an expression with an uninhabited typeFabian Wolff-20/+91
2021-05-11Split span_to_string into span_to_diagnostic/embeddable_stringAndy Wang-3/+3
2021-04-25liveness: Fix typo report_unsed_assign -> report_unused_assignCohenArthur-3/+3
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-1/+1
2021-03-26Use iter::zip in compiler/Josh Stone-2/+3
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-55/+54
2021-02-28Use identifier's span in unused lintGiacomo Stevanato-43/+66
2021-02-24Properly account for non-shorthand pattern field in unused variable lintEsteban Küber-5/+10
2021-01-21Add loop head span to hirEsteban Küber-1/+1
2021-01-07Reintroduce hir::ExprKind::IfCaio-1/+25
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-1/+1
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-4/+1
2020-12-17Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasperYuki Okushi-4/+10
2020-12-09Rollup merge of #79844 - tmiasko:rwu-table-mod, r=lcnrTyler Mandry-146/+5
2020-12-09Move RWUTable to a separate moduleTomasz Miąsko-146/+5
2020-12-09Remove `first_merge` from liveness debug logsTomasz Miąsko-18/+6
2020-12-08Auto merge of #79727 - tmiasko:8bit-rwu, r=lcnrbors-159/+146
2020-12-06Retain assembly operands span when lowering AST to HIRTomasz Miąsko-3/+3
2020-12-06Implement liveness passes for if-let guardsLeSeulArtichaut-4/+10
2020-12-06Compress RWU from at least 32 bits to 4 bitsTomasz Miąsko-159/+146
2020-11-10Handle `let _ = x` patterns in closure liveness analysisAman Arora-20/+49