diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2020-01-09 05:56:38 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2020-03-26 06:52:55 -0400 |
| commit | fda3378e3fcf279a19409ef368ce9bd5b57bfd62 (patch) | |
| tree | 7fb3ae6e92d79b4c068d1e6f0d1d2dc45de49733 /src/liballoc/lib.rs | |
| parent | 65071708f8fe72dd2103c6eace0eb6802a6acf03 (diff) | |
| download | rust-fda3378e3fcf279a19409ef368ce9bd5b57bfd62.tar.gz rust-fda3378e3fcf279a19409ef368ce9bd5b57bfd62.zip | |
introduce `negative_impls` feature gate and document
They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits.
Diffstat (limited to 'src/liballoc/lib.rs')
| -rw-r--r-- | src/liballoc/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index d55a1a3b635..5857b79d5ee 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -99,6 +99,7 @@ #![feature(internal_uninit_const)] #![feature(lang_items)] #![feature(libc)] +#![cfg_attr(not(bootstrap), feature(negative_impls))] #![feature(nll)] #![feature(optin_builtin_traits)] #![feature(pattern)] |
