Files
rust/tests/ui/box/unit/unique-create.rs

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

11 lines
115 B
Rust
Raw Normal View History

//@ run-pass
#![allow(dead_code)]
pub fn main() {
let _: Box<_> = Box::new(100);
}
fn vec() {
vec![0];
}