rust/compiler/rustc_passes/src
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
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs Remove #[doc(hidden)] logic from unused_attributes lint 2022-06-21 14:06:32 +02:00
check_const.rs Remove #[default..] and add #[const_trait] 2022-05-30 08:52:24 +00:00
dead.rs collapse dead code warnings into a single diagnostic 2022-06-19 18:32:56 +09:00
debugger_visualizer.rs Respond to PR comments. 2022-05-25 10:44:56 -07:00
diagnostic_items.rs remove DiagnosticItemCollector 2022-05-13 11:46:05 -04:00
entry.rs Fixup missing renames from #[main] to #[rustc_main] 2022-06-22 18:24:09 +02:00
hir_id_validator.rs remove unnecessary methods from HirIdValidator 2022-05-13 11:46:06 -04:00
hir_stats.rs Remove unused hir_id arg from visit_attribute. 2022-06-16 09:52:04 +10:00
lang_items.rs use def_span and def_kind queries instead of calling tcx.hir() methods 2022-05-06 12:11:05 -04:00
layout_test.rs remove LayoutTest 2022-05-13 11:46:05 -04:00
lib_features.rs Remove unused hir_id arg from visit_attribute. 2022-06-16 09:52:04 +10:00
lib.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
liveness.rs Make ExprKind::Closure a struct variant. 2022-06-12 00:16:27 +02:00
loops.rs Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011 2022-06-15 19:37:14 +09:00
naked_functions.rs Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011 2022-06-15 19:37:14 +09:00
reachable.rs Remove a possible unnecessary assignment 2022-06-18 01:51:38 +09:00
stability.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
upvars.rs Make ExprKind::Closure a struct variant. 2022-06-12 00:16:27 +02:00
weak_lang_items.rs rustc_target: Remove some redundant target properties 2022-06-18 01:09:20 +03:00