rust/compiler/rustc_passes
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
..
src Rollup merge of #81310 - tmiasko:in-pattern, r=petrochenkov 2021-01-24 22:10:06 +01:00
Cargo.toml