rust/src/test/ui/issues/issue-6557.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
158 B
Rust

// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
#![feature(box_patterns)]
fn foo(box (_x, _y): Box<(isize, isize)>) {}
pub fn main() {}