1
Fork 0

create a tracking issue and link to it

This commit is contained in:
Niko Matsakis 2020-01-17 14:34:25 -05:00
parent fda3378e3f
commit cc0d6d03f6
5 changed files with 8 additions and 8 deletions

View file

@ -1,8 +1,8 @@
# `negative_impls` # `negative_impls`
The tracking issue for this feature is [#13231] The tracking issue for this feature is [#68318].
[#13231]: https://github.com/rust-lang/rust/issues/13231 [#68318]: https://github.com/rust-lang/rust/issues/68318
---- ----

View file

@ -152,9 +152,6 @@ declare_features! (
/// Allows features specific to OIBIT (auto traits). /// Allows features specific to OIBIT (auto traits).
(active, optin_builtin_traits, "1.0.0", Some(13231), None), (active, optin_builtin_traits, "1.0.0", Some(13231), None),
/// Allow negative trait implementations.
(active, negative_impls, "1.0.0", Some(13231), None),
/// Allows using `box` in patterns (RFC 469). /// Allows using `box` in patterns (RFC 469).
(active, box_patterns, "1.0.0", Some(29641), None), (active, box_patterns, "1.0.0", Some(29641), None),
@ -557,6 +554,9 @@ declare_features! (
// Allows limiting the evaluation steps of const expressions // Allows limiting the evaluation steps of const expressions
(active, const_eval_limit, "1.43.0", Some(67217), None), (active, const_eval_limit, "1.43.0", Some(67217), None),
/// Allow negative trait implementations.
(active, negative_impls, "1.43.0", Some(68318), None),
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// feature-group-end: actual feature gates // feature-group-end: actual feature gates
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------

View file

@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
LL | impl !MyTrait for u32 {} LL | impl !MyTrait for u32 {}
| ^^^^^^^^ | ^^^^^^^^
| |
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
= help: add `#![feature(negative_impls)]` to the crate attributes to enable = help: add `#![feature(negative_impls)]` to the crate attributes to enable
error: aborting due to previous error error: aborting due to previous error

View file

@ -13,7 +13,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
LL | impl !AutoDummyTrait for DummyStruct {} LL | impl !AutoDummyTrait for DummyStruct {}
| ^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^
| |
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
= help: add `#![feature(negative_impls)]` to the crate attributes to enable = help: add `#![feature(negative_impls)]` to the crate attributes to enable
error: aborting due to 2 previous errors error: aborting due to 2 previous errors

View file

@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
LL | impl !Send for TestType {} LL | impl !Send for TestType {}
| ^^^^^ | ^^^^^
| |
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
= help: add `#![feature(negative_impls)]` to the crate attributes to enable = help: add `#![feature(negative_impls)]` to the crate attributes to enable
error: aborting due to previous error error: aborting due to previous error