rust/compiler/rustc_span
bors d4bc912c48 Auto merge of #84217 - crlf0710:remove_main_attr_pure, r=petrochenkov
Remove #[main] attribute.

This removes the #[main] attribute support from the compiler according to the decisions within #29634. For existing use cases within test harness generation, replaced it with a newly-introduced internal attribute `#[rustc_main]`.

This is first part extracted from #84062 .

Closes #29634.

r? `@petrochenkov`
2021-04-16 08:01:45 +00:00
..
src Auto merge of #84217 - crlf0710:remove_main_attr_pure, r=petrochenkov 2021-04-16 08:01:45 +00:00
Cargo.toml