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

14 lines
362 B
Rust

//@ check-pass
//@ aux-build:api/mod.rs
//@ edition: 2021
//! This is for everything that *would* be a #[test] inside of libproc_macro,
//! except for the fact that proc_macro objects are not capable of existing
//! inside of an ordinary Rust test execution, only inside a macro.
extern crate proc_macro_api_tests;
proc_macro_api_tests::run!();
fn main() {}