Files
rust/tests/ui/frontmatter/proc-macro-observer.rs

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

13 lines
228 B
Rust
Raw Normal View History

//@ check-pass
//@ proc-macro: makro.rs
//@ edition: 2021
#![feature(frontmatter)]
makro::check!();
// checks that a proc-macro cannot observe frontmatter tokens.
// see auxiliary/makro.rs for how it is tested.
fn main() {}