mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
8 lines
186 B
Rust
8 lines
186 B
Rust
#![feature(box_syntax)]
|
|
|
|
fn main() {
|
|
// With the nested Vec, this is calling Offset(Unique::empty(), 0) on drop.
|
|
let args: Vec<Vec<i32>> = Vec::new();
|
|
let _val = box args;
|
|
}
|