diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-05-28 16:35:52 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-05-30 01:02:55 -0500 |
| commit | 007651cd267ee8af88384d968183a1dee0265919 (patch) | |
| tree | dac8928949cf8c96c6d546f3a0a4b592f0ab9ee9 /src/libstd/core.rc | |
| parent | 4a5d887b58ff9833a968e7a0d28282b915e01de8 (diff) | |
| download | rust-007651cd267ee8af88384d968183a1dee0265919.tar.gz rust-007651cd267ee8af88384d968183a1dee0265919.zip | |
Require documentation by default for libstd
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
Diffstat (limited to 'src/libstd/core.rc')
| -rw-r--r-- | src/libstd/core.rc | 5 |
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"); |
