rust/tests/ui/proc-macro/meta-macro.rs

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

15 lines
280 B
Rust
Raw Normal View History

//@ aux-build:make-macro.rs
//@ aux-build:meta-macro.rs
//@ edition:2018
//@ compile-flags: -Z span-debug
//@ run-pass
#![no_std] // Don't load unnecessary hygiene information from std
extern crate std;
extern crate meta_macro;
fn main() {
meta_macro::print_def_site!();
}