Remove obsolete no-op #[main] attribute from compiler.

This commit is contained in:
Jeremy Banks 2022-02-07 23:40:17 +00:00 committed by GitHub
parent f52c31840d
commit 475e4eeb65
5 changed files with 35 additions and 1 deletions

View file

@ -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),