rust/tests/ui/unpretty/box.stdout

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

15 lines
249 B
Plaintext
Raw Permalink Normal View History

//@ compile-flags: -Zunpretty=hir
//@ check-pass
#![feature(stmt_expr_attributes, rustc_attrs)]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
fn main() {
2024-05-15 18:18:22 +00:00
let _ =
#[rustc_box]
Box::new(1);
}