diff options
| author | bors <bors@rust-lang.org> | 2018-04-30 22:02:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-30 22:02:33 +0000 |
| commit | 357bf00f1c0ee065239ee0213b854ee65f44eb03 (patch) | |
| tree | 4769114d678a6150b43718a2d595a0bdad894e72 /src/libcore | |
| parent | 17841cc97ac950312355403b6cfe11b916e242a6 (diff) | |
| parent | 3dbdccc6a9c1ead58325d415381b25c676386c34 (diff) | |
| download | rust-357bf00f1c0ee065239ee0213b854ee65f44eb03.tar.gz rust-357bf00f1c0ee065239ee0213b854ee65f44eb03.zip | |
Auto merge of #48925 - zackmdavis:fn_must_stabilize, r=nikomatsakis
stabilize `#[must_use]` for functions and must-use comparison operators (RFC 1940) r? @nikomatsakis
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 0e21a3327fd..f4ed24cc3a3 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -76,7 +76,6 @@ #![feature(doc_cfg)] #![feature(doc_spotlight)] #![feature(extern_types)] -#![feature(fn_must_use)] #![feature(fundamental)] #![feature(intrinsics)] #![feature(iterator_flatten)] @@ -114,6 +113,7 @@ #![cfg_attr(stage0, feature(target_feature))] #![cfg_attr(stage0, feature(cfg_target_feature))] +#![cfg_attr(stage0, feature(fn_must_use))] #[prelude_import] #[allow(unused)] |
