summaryrefslogtreecommitdiff
path: root/tests/ui/unpretty
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2023-02-27 13:22:43 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2023-03-12 13:26:37 +0000
commit8b186dfdb70ebfe722975970458c6230841e6911 (patch)
treeff456dece9e8fb66885138e7405725f6950b75e6 /tests/ui/unpretty
parenta8d5950b4db8feddff469d6c35a8f29f485ce951 (diff)
downloadrust-8b186dfdb70ebfe722975970458c6230841e6911.tar.gz
Add recovery for use of removed `box` syntax
Diffstat (limited to 'tests/ui/unpretty')
-rw-r--r--tests/ui/unpretty/box.stdout2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/unpretty/box.stdout b/tests/ui/unpretty/box.stdout
index 1318a56e3be..0c6e012e698 100644
--- a/tests/ui/unpretty/box.stdout
+++ b/tests/ui/unpretty/box.stdout
@@ -10,5 +10,5 @@ extern crate std;
fn main() {
let _ =
#[rustc_box]
- Box::new (1);
+ Box::new(1);
}