]> 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 3933746c319ecc89d5e630ec15cdf48c478fe7d5..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),
@@ -403,7 +402,6 @@ pub struct BuiltinAttribute {
     },
 
     // Testing:
-    gated!(allow_fail, Normal, template!(Word), WarnFollowing, experimental!(allow_fail)),
     gated!(
         test_runner, CrateLevel, template!(List: "path"), ErrorFollowing, custom_test_frameworks,
         "custom test frameworks are an unstable feature",