Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point to the current box syntax tracking issue #51066

Merged
merged 1 commit into from
May 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/doc/unstable-book/src/language-features/box-syntax.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `box_syntax`

The tracking issue for this feature is: [#27779]
The tracking issue for this feature is: [#49733]

[#27779]: https://github.com/rust-lang/rust/issues/27779
[#49733]: https://github.com/rust-lang/rust/issues/49733

See also [`box_patterns`](language-features/box-patterns.html)

Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ declare_features! (
// rustc internal
(active, rustc_diagnostic_macros, "1.0.0", None, None),
(active, rustc_const_unstable, "1.0.0", None, None),
(active, box_syntax, "1.0.0", Some(27779), None),
(active, box_syntax, "1.0.0", Some(49733), None),
(active, unboxed_closures, "1.0.0", Some(29625), None),

(active, fundamental, "1.0.0", Some(29635), None),
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/feature-gate-box-expr.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #27779)
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #49733)
--> $DIR/feature-gate-box-expr.rs:22:13
|
LL | let x = box 'c'; //~ ERROR box expression syntax is experimental
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/feature-gate-box_syntax.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #27779)
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #49733)
--> $DIR/feature-gate-box_syntax.rs:14:13
|
LL | let x = box 3;
Expand Down