]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/builtin_attrs.rs
Remove obsolete no-op #[main] attribute from compiler.
[rust.git] / compiler / rustc_feature / src / builtin_attrs.rs
index cb2562d09a5250e5c39c1ddf2944927c891e05bc..b224c64ece7f60e64f583e3743cf6c7ab3930650 100644 (file)
@@ -339,7 +339,6 @@ pub struct 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),