rust/compiler/rustc_passes
Yuki Okushi f3078d0f44
Rollup merge of #98394 - Enselic:fixup-rustc_main-renames, r=petrochenkov
Fixup missing renames from `#[main]` to `#[rustc_main]`

In #84217 `#[main]` was removed and replaced with `#[rustc_main]`. In some places the rename was forgotten, which makes the current code confusing, because at first glance it seems that `#[main]` is still around. Perform the renames also in these places.

I noticed this (after first being confused by it) when working on #97802.

r? `@petrochenkov`

(since you reviewed the other PR)
2022-06-24 16:43:47 +09:00
..
src Rollup merge of #98394 - Enselic:fixup-rustc_main-renames, r=petrochenkov 2022-06-24 16:43:47 +09:00
Cargo.toml collapse dead code warnings into a single diagnostic 2022-06-19 18:32:56 +09:00