about summary refs log tree commit diff
path: root/tests/ui/frontmatter/proc-macro-observer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/frontmatter/proc-macro-observer.rs')
-rw-r--r--tests/ui/frontmatter/proc-macro-observer.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/ui/frontmatter/proc-macro-observer.rs b/tests/ui/frontmatter/proc-macro-observer.rs
index b1cc1460933..6c4c8c57289 100644
--- a/tests/ui/frontmatter/proc-macro-observer.rs
+++ b/tests/ui/frontmatter/proc-macro-observer.rs
@@ -2,10 +2,9 @@
 //@ proc-macro: makro.rs
 //@ edition: 2021
 
-makro::check!();
+// Check that a proc-macro doesn't try to parse frontmatter and instead treats
+// it as a regular Rust token sequence. See `auxiliary/makro.rs` for details.
 
-// checks that a proc-macro doesn't know or parse frontmatters at all and instead treats
-// it as normal Rust code.
-// see auxiliary/makro.rs for how it is tested.
+makro::check!();
 
 fn main() {}