rust/tests/ui/proc-macro/derive-in-mod.rs
2023-01-11 09:32:08 +00:00

14 lines
199 B
Rust

// build-pass (FIXME(62277): could be check-pass?)
// aux-build:test-macros.rs
extern crate test_macros;
mod inner {
use test_macros::Empty;
#[derive(Empty)]
struct S;
}
fn main() {}