summary refs log tree commit diff
path: root/compiler/rustc_passes/src/liveness.rs
AgeCommit message (Expand)AuthorLines
2022-09-05use `propagate_through_exprs` instead of `propagate_through_expr`Takayuki Maeda-4/+1
2022-09-05refactor: remove unnecessary variablesTakayuki Maeda-3/+4
2022-09-05separate the receiver from arguments in HIRTakayuki Maeda-2/+5
2022-09-01Directly use the `instrument` macro instead of its full pathOli Scherer-1/+1
2022-08-30Rollup merge of #100941 - lyming2007:issue-100584, r=oli-obkDylan DPC-11/+71
2022-08-29Point at the string inside literal and mention if we need string interpolationYiming Lei-11/+71
2022-08-23Use par_body_owners for livenessSeo Sanghyeon-55/+46
2022-08-12improve "try ignoring the field" diagnosticGoldstein-2/+32
2022-07-30Use LocalDefId for closures moreCameron Steffen-1/+1
2022-07-11move else block into the `Local` structDing Xiang Fei-7/+7
2022-07-11lower let-else in MIR insteadDing Xiang Fei-10/+45
2022-07-07Reword comments and rename HIR visiting methods.Camille GILLOT-1/+1
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-3/+3
2022-05-18Auto merge of #96863 - SparrowLii:let, r=michaelwoeristerbors-5/+5
2022-05-13rename visit item-like methodsMiguel Guarniz-1/+1
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