1
Fork 0

Fixup missing renames from #[main] to #[rustc_main]

In fc357039f9 `#[main]` was removed and replaced with `#[rustc_main]`.
In some place 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.
This commit is contained in:
Martin Nordholts 2022-06-22 18:23:21 +02:00
parent 6ec3993ef4
commit 94477e3323
3 changed files with 12 additions and 11 deletions

View file

@ -2,7 +2,7 @@
pub enum EntryPointType {
None,
MainNamed,
MainAttr,
RustcMainAttr,
Start,
OtherMain, // Not an entry point, but some other function named main
}