@@ -7,7 +7,7 @@ LL | let _ = box ();
77help: use `Box::new()` instead
88 |
99LL | let _ = Box::new(());
10- | ~~~~~~~~~~~~
10+ | ~~~~~~~~~ +
1111
1212error: `box_syntax` has been removed
1313 --> $DIR/removed-syntax-box.rs:10:13
@@ -18,7 +18,7 @@ LL | let _ = box 1;
1818help: use `Box::new()` instead
1919 |
2020LL | let _ = Box::new(1);
21- | ~~~~~~~~~~~
21+ | ~~~~~~~~~ +
2222
2323error: `box_syntax` has been removed
2424 --> $DIR/removed-syntax-box.rs:11:13
@@ -29,7 +29,7 @@ LL | let _ = box T { a: 12, b: 18 };
2929help: use `Box::new()` instead
3030 |
3131LL | let _ = Box::new(T { a: 12, b: 18 });
32- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+ | ~~~~~~~~~ +
3333
3434error: `box_syntax` has been removed
3535 --> $DIR/removed-syntax-box.rs:12:13
@@ -40,7 +40,7 @@ LL | let _ = box [5; 30];
4040help: use `Box::new()` instead
4141 |
4242LL | let _ = Box::new([5; 30]);
43- | ~~~~~~~~~~~~~~~~~
43+ | ~~~~~~~~~ +
4444
4545error: `box_syntax` has been removed
4646 --> $DIR/removed-syntax-box.rs:13:22
@@ -51,7 +51,7 @@ LL | let _: Box<()> = box ();
5151help: use `Box::new()` instead
5252 |
5353LL | let _: Box<()> = Box::new(());
54- | ~~~~~~~~~~~~
54+ | ~~~~~~~~~ +
5555
5656error: aborting due to 5 previous errors
5757
0 commit comments