about summary refs log tree commit diff
path: root/src/libstd/core.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/core.rc')
-rw-r--r--src/libstd/core.rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/core.rc b/src/libstd/core.rc
index 85397cbe777..82e0d4b54d2 100644
--- a/src/libstd/core.rc
+++ b/src/libstd/core.rc
@@ -56,12 +56,15 @@ they contained the following prologue:
 #[license = "MIT/ASL2"];
 #[crate_type = "lib"];
 
+// NOTE: remove these two attributes after the next snapshot
+#[no_core]; // for stage0
+#[allow(unrecognized_lint)]; // otherwise stage0 is seriously ugly
 
 // Don't link to std. We are std.
-#[no_core]; // for stage0
 #[no_std];
 
 #[deny(non_camel_case_types)];
+#[deny(missing_doc)];
 
 // Make core testable by not duplicating lang items. See #2912
 #[cfg(test)] extern mod realstd(name = "std");