rust/src/test/ui/issues/issue-3878.rs
est31 0a03825f76 Remove even more box syntax uses from src/test
Prior work, notably 6550021124 from #88316
has removed box syntax from most of the testsuite. However,
some tests were left out.
This commit removes box_syntax uses from more locations in src/test.
Some tests that are very box syntax specific are not being migrated.
2022-08-07 04:22:20 +02:00

10 lines
131 B
Rust

// run-pass
// pretty-expanded FIXME #23616
#![allow(path_statements)]
pub fn main() {
let y: Box<_> = Box::new(1);
y;
}