rust/compiler/rustc_passes
Tyler Mandry 9ced8dc0f5
Rollup merge of #79826 - LingMan:match_if, r=lcnr
Simplify visit_{foreign,trait}_item

Using an `if` seems like a better semantic fit and saves a few lines.

Noticed while looking at https://github.com/rust-lang/rust/pull/79752, but that's already merged.
r? `@lcnr,` cc `@cjgillot`

`@rustbot` modify labels +C-cleanup +T-compiler
2020-12-09 13:38:33 -08:00
..
src Rollup merge of #79826 - LingMan:match_if, r=lcnr 2020-12-09 13:38:33 -08:00
Cargo.toml Add rustc_lexer as dependency to rustc_passes 2020-12-02 10:42:50 +01:00