diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-04-04 10:24:21 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-04-04 20:25:50 +1100 |
| commit | 6c5e1d092573a8c3085ac04a10572685b229a680 (patch) | |
| tree | 6ed37df302df8dcc0e37c4f82f46346802ed2d11 /src/libstd/lib.rs | |
| parent | bb31cb8d2e4e415cbb71d368918d72902e655e01 (diff) | |
| download | rust-6c5e1d092573a8c3085ac04a10572685b229a680.tar.gz rust-6c5e1d092573a8c3085ac04a10572685b229a680.zip | |
rustc: feature-gate `concat_idents!`.
concat_idents! is not as useful as it could be, due to macros only being allowed in limited places, and hygiene, so lets feature gate it until we make a decision about it. cc #13294
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 75d6b83803f..b1cf4cf7d56 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -52,7 +52,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://static.rust-lang.org/doc/master")] #![feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args, - simd, linkage, default_type_params, phase)] + simd, linkage, default_type_params, phase, concat_idents)] // Don't link to std. We are std. #![no_std] @@ -60,6 +60,7 @@ // #![deny(missing_doc)] // NOTE: uncomment after a stage0 snap #![allow(missing_doc)] // NOTE: remove after a stage0 snap #![allow(visible_private_types)] // NOTE: remove after a stage0 snap +#![allow(unknown_features)] // NOTE: remove after a stage0 snap // When testing libstd, bring in libuv as the I/O backend so tests can print // things and all of the std::io tests have an I/O interface to run on top |
