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

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

14 lines
362 B
Rust
Raw Normal View History

//@ 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() {}