Remove #[main] attribute.
This commit is contained in:
parent
9c3b66cff7
commit
fc357039f9
29 changed files with 59 additions and 214 deletions
|
@ -1489,7 +1489,7 @@ fn check_invalid_crate_level_attr(tcx: TyCtxt<'_>, attrs: &[Attribute]) {
|
|||
sym::path,
|
||||
sym::automatically_derived,
|
||||
sym::start,
|
||||
sym::main,
|
||||
sym::rustc_main,
|
||||
];
|
||||
|
||||
for attr in attrs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue