Skip to content

Commit cc0d6d0

Browse files
committed
create a tracking issue and link to it
1 parent fda3378 commit cc0d6d0

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/doc/unstable-book/src/language-features/negative-impls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# `negative_impls`
22

3-
The tracking issue for this feature is [#13231]
3+
The tracking issue for this feature is [#68318].
44

5-
[#13231]: https://github.com/rust-lang/rust/issues/13231
5+
[#68318]: https://github.com/rust-lang/rust/issues/68318
66

77
----
88

src/librustc_feature/active.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ declare_features! (
152152
/// Allows features specific to OIBIT (auto traits).
153153
(active, optin_builtin_traits, "1.0.0", Some(13231), None),
154154

155-
/// Allow negative trait implementations.
156-
(active, negative_impls, "1.0.0", Some(13231), None),
157-
158155
/// Allows using `box` in patterns (RFC 469).
159156
(active, box_patterns, "1.0.0", Some(29641), None),
160157

@@ -557,6 +554,9 @@ declare_features! (
557554
// Allows limiting the evaluation steps of const expressions
558555
(active, const_eval_limit, "1.43.0", Some(67217), None),
559556

557+
/// Allow negative trait implementations.
558+
(active, negative_impls, "1.43.0", Some(68318), None),
559+
560560
// -------------------------------------------------------------------------
561561
// feature-group-end: actual feature gates
562562
// -------------------------------------------------------------------------

src/test/ui/feature-gate-negative_impls.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
44
LL | impl !MyTrait for u32 {}
55
| ^^^^^^^^
66
|
7-
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
7+
= note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
88
= help: add `#![feature(negative_impls)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
1313
LL | impl !AutoDummyTrait for DummyStruct {}
1414
| ^^^^^^^^^^^^^^^
1515
|
16-
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
16+
= note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
1717
= help: add `#![feature(negative_impls)]` to the crate attributes to enable
1818

1919
error: aborting due to 2 previous errors

src/test/ui/syntax-trait-polarity-feature-gate.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty
44
LL | impl !Send for TestType {}
55
| ^^^^^
66
|
7-
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
7+
= note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
88
= help: add `#![feature(negative_impls)]` to the crate attributes to enable
99

1010
error: aborting due to previous error

0 commit comments

Comments
 (0)