mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
04ddf42218
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.