]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/session/config.rs
Normalize EntryFnType variants to standard style
[rust.git] / src / librustc / session / config.rs
index 7d4508e0eea2a96fc14c4029425bf57089dea106..e69e6215ba14bd223ff963f2c5c355fb3901911f 100644 (file)
@@ -11,7 +11,6 @@
 //! Contains infrastructure for configuring the compiler, including parsing
 //! command line options.
 
-pub use self::EntryFnType::*;
 pub use self::DebugInfoLevel::*;
 
 use std::str::FromStr;
@@ -662,8 +661,8 @@ pub fn will_create_output_file(&self) -> bool {
 // functions
 #[derive(Copy, Clone, PartialEq)]
 pub enum EntryFnType {
-    EntryMain,
-    EntryStart,
+    Main,
+    Start,
 }
 
 #[derive(Copy, PartialEq, PartialOrd, Clone, Ord, Eq, Hash, Debug)]