rust/compiler/rustc_passes/src
Jonas Schievink 04ddf42218
Rollup merge of #81310 - tmiasko:in-pattern, r=petrochenkov
Do not mark unit variants as used when in path pattern

Record that we are processing a pattern so that code responsible for
handling path resolution can correctly decide whether to mark it as
used or not.

Closes #76788.
2021-01-24 22:10:06 +01:00
..
liveness Move RWUTable to a separate module 2020-12-09 00:00:00 +00:00
check_attr.rs Separate out a hir::Impl struct 2021-01-12 20:32:33 -05:00
check_const.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
dead.rs Do not mark unit variants as used when in path pattern 2021-01-23 00:00:00 +00:00
diagnostic_items.rs Use visitor for its very purpose. 2020-11-26 21:32:29 +01:00
entry.rs Formatting. 2020-11-26 21:32:29 +01:00
hir_id_validator.rs Do not visit ForeignItemRef for HIR indexing and validation. 2020-11-28 18:08:17 +01:00
hir_stats.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
intrinsicck.rs Fix small typo 2021-01-10 21:24:32 -08:00
lang_items.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
layout_test.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lib_features.rs
lib.rs Validate use of parameters in naked functions 2020-11-25 00:00:00 +00:00
liveness.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
loops.rs Do not suggest using a break label when one is already present 2021-01-21 21:43:29 -08:00
naked_functions.rs Reintroduce hir::ExprKind::If 2021-01-07 18:54:12 -03:00
reachable.rs Allow to query the HIR crate node. 2021-01-23 13:58:09 +01:00
region.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
stability.rs Only inherit const stability for methods of impl const Trait blocks 2021-01-18 11:07:35 +00:00
upvars.rs
weak_lang_items.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00