Files
rust/tests/ui/box/box-patterns-feature-usage-6557.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
176 B
Rust
Raw Permalink Normal View History

2025-08-20 14:02:39 -04:00
// https://github.com/rust-lang/rust/issues/6557
//@ check-pass
#![allow(dead_code)]
#![feature(box_patterns)]
fn foo(box (_x, _y): Box<(isize, isize)>) {}
pub fn main() {}