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.

12 lines
148 B
Rust
Raw Normal View History

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