diff options
| author | bors <bors@rust-lang.org> | 2018-05-27 00:54:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-27 00:54:12 +0000 |
| commit | f0805a4421449bd6fe3096d63820fbebe2bfcd1d (patch) | |
| tree | 02924be8fdfff1a5c7744bda94e008db1185de72 | |
| parent | 5015fa346c1bf7e295fc16996ed0d3309c84f09a (diff) | |
| parent | 20ab8841b1cfd7c1d3288bdba4a5b57a12511b49 (diff) | |
| download | rust-f0805a4421449bd6fe3096d63820fbebe2bfcd1d.tar.gz rust-f0805a4421449bd6fe3096d63820fbebe2bfcd1d.zip | |
Auto merge of #51066 - est31:master, r=sfackler
Point to the current box syntax tracking issue The issue was used for both box syntax as well as placement new. It got closed due to placement new being unapproved. So a new one got created for box syntax, yet neither the unstable book nor feature_gate.rs got updated. We are doing this now. r? @aidanhs
| -rw-r--r-- | src/doc/unstable-book/src/language-features/box-syntax.md | 4 | ||||
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/feature-gate-box-expr.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/feature-gate-box_syntax.stderr | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/unstable-book/src/language-features/box-syntax.md b/src/doc/unstable-book/src/language-features/box-syntax.md index 50e59231a4d..414dc48e557 100644 --- a/src/doc/unstable-book/src/language-features/box-syntax.md +++ b/src/doc/unstable-book/src/language-features/box-syntax.md @@ -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) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 6d1b415587f..7fd989d1fe0 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -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), diff --git a/src/test/ui/feature-gate-box-expr.stderr b/src/test/ui/feature-gate-box-expr.stderr index 72f2f08b5b8..7b235da7ed7 100644 --- a/src/test/ui/feature-gate-box-expr.stderr +++ b/src/test/ui/feature-gate-box-expr.stderr @@ -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 diff --git a/src/test/ui/feature-gate-box_syntax.stderr b/src/test/ui/feature-gate-box_syntax.stderr index 7058512417b..d45dee2970b 100644 --- a/src/test/ui/feature-gate-box_syntax.stderr +++ b/src/test/ui/feature-gate-box_syntax.stderr @@ -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; |
