This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
16 lines
251 B
Rust
16 lines
251 B
Rust
//@ check-pass
|
|
//@ aux-build:test-macros.rs
|
|
#![feature(stmt_expr_attributes, proc_macro_hygiene)]
|
|
|
|
extern crate test_macros;
|
|
|
|
use test_macros::identity_attr;
|
|
|
|
#[identity_attr]
|
|
fn main() {
|
|
let _x;
|
|
let y = ();
|
|
#[identity_attr]
|
|
_x = y;
|
|
}
|