Remove obsolete no-op #[main] attribute from compiler.
This commit is contained in:
parent
f52c31840d
commit
475e4eeb65
5 changed files with 35 additions and 1 deletions
|
@ -339,7 +339,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||
),
|
||||
|
||||
// Entry point:
|
||||
ungated!(main, Normal, template!(Word), WarnFollowing),
|
||||
ungated!(start, Normal, template!(Word), WarnFollowing),
|
||||
ungated!(no_start, CrateLevel, template!(Word), WarnFollowing),
|
||||
ungated!(no_main, CrateLevel, template!(Word), WarnFollowing),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue