about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2020-01-17 14:34:25 -0500
committerNiko Matsakis <niko@alum.mit.edu>2020-03-26 06:52:57 -0400
commitcc0d6d03f61d19e6d6d7b5137be314d27f7f1d70 (patch)
tree233c63df7e673df27be2c48982e0ef648f697a05
parentfda3378e3fcf279a19409ef368ce9bd5b57bfd62 (diff)
downloadrust-cc0d6d03f61d19e6d6d7b5137be314d27f7f1d70.tar.gz
rust-cc0d6d03f61d19e6d6d7b5137be314d27f7f1d70.zip
create a tracking issue and link to it
-rw-r--r--src/doc/unstable-book/src/language-features/negative-impls.md4
-rw-r--r--src/librustc_feature/active.rs6
-rw-r--r--src/test/ui/feature-gate-negative_impls.stderr2
-rw-r--r--src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr2
-rw-r--r--src/test/ui/syntax-trait-polarity-feature-gate.stderr2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/doc/unstable-book/src/language-features/negative-impls.md b/src/doc/unstable-book/src/language-features/negative-impls.md
index 3cf9351b630..151520f0e4a 100644
--- a/src/doc/unstable-book/src/language-features/negative-impls.md
+++ b/src/doc/unstable-book/src/language-features/negative-impls.md
@@ -1,8 +1,8 @@
 # `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
 
 ----
 
diff --git a/src/librustc_feature/active.rs b/src/librustc_feature/active.rs
index 293f86d4597..825323f55bd 100644
--- a/src/librustc_feature/active.rs
+++ b/src/librustc_feature/active.rs
@@ -152,9 +152,6 @@ declare_features! (
     /// Allows features specific to OIBIT (auto traits).
     (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).
     (active, box_patterns, "1.0.0", Some(29641), None),
 
@@ -557,6 +554,9 @@ declare_features! (
     // Allows limiting the evaluation steps of const expressions
     (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
     // -------------------------------------------------------------------------
diff --git a/src/test/ui/feature-gate-negative_impls.stderr b/src/test/ui/feature-gate-negative_impls.stderr
index 922048996bd..b253fbd0da7 100644
--- a/src/test/ui/feature-gate-negative_impls.stderr
+++ b/src/test/ui/feature-gate-negative_impls.stderr
@@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
 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
 
 error: aborting due to previous error
diff --git a/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr b/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr
index e9090b78c78..1553d0531dc 100644
--- a/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr
+++ b/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr
@@ -13,7 +13,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
 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
 
 error: aborting due to 2 previous errors
diff --git a/src/test/ui/syntax-trait-polarity-feature-gate.stderr b/src/test/ui/syntax-trait-polarity-feature-gate.stderr
index 1c37106f13d..3562deecbd5 100644
--- a/src/test/ui/syntax-trait-polarity-feature-gate.stderr
+++ b/src/test/ui/syntax-trait-polarity-feature-gate.stderr
@@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
 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
 
 error: aborting due to previous error