diff options
| author | Jeremy Banks <_@jeremy.ca> | 2022-02-07 23:40:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-08 00:46:16 +0000 |
| commit | 475e4eeb6557af820ee2b48f213f178eca5e11ce (patch) | |
| tree | 1514a2a1f3a71693170cc0a75bac2356d9e2b30a /compiler/rustc_feature/src | |
| parent | f52c31840df7ec9c9350baff51a8964b20b5e1ba (diff) | |
| download | rust-475e4eeb6557af820ee2b48f213f178eca5e11ce.tar.gz rust-475e4eeb6557af820ee2b48f213f178eca5e11ce.zip | |
Remove obsolete no-op #[main] attribute from compiler.
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index cb2562d09a5..b224c64ece7 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -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), |
