]> git.lizzy.rs Git - rust.git/commitdiff
Point to the current box syntax tracking issue
authorest31 <MTest31@outlook.com>
Fri, 25 May 2018 20:37:25 +0000 (22:37 +0200)
committerest31 <MTest31@outlook.com>
Sat, 26 May 2018 17:27:21 +0000 (19:27 +0200)
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.

src/doc/unstable-book/src/language-features/box-syntax.md
src/libsyntax/feature_gate.rs
src/test/ui/feature-gate-box-expr.stderr
src/test/ui/feature-gate-box_syntax.stderr

index 50e59231a4df22d19608d91d470f54fceb645a83..414dc48e557d3ec3f391fbb7bd288c19a88a33e4 100644 (file)
@@ -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)
 
index 3a02646d0af5f133e005761ca1f821739d3d559e..08b2e447bba3f74d718bad7b51adce8390ef3d43 100644 (file)
@@ -145,7 +145,7 @@ pub fn walk_feature_fields<F>(&self, mut f: F)
     // 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),
index 72f2f08b5b8e718bfbbfccdbd44318845c86edc2..7b235da7ed7e9de2946ac534b0157f39a32f95bf 100644 (file)
@@ -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
index 7058512417b15a01bd7c30885cff3d0447c57eb4..d45dee2970bd1655b9ca98815ce0c1edc898b33b 100644 (file)
@@ -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;