Ed Page 57c97cc190 test(script): Switch frontmatter tests to end-to-end
This will make it easier to validate error improvements I'm working on
as well as make it easier to update from rust-lang/rust
2025-08-29 16:11:59 -05:00

11 lines
261 B
Rust

----cargo
//~^ ERROR: unclosed frontmatter
// This test checks that the #! characters can help us recover a frontmatter
// close. There should not be a "missing `main` function" error as the rest
// are properly parsed.
#![feature(frontmatter)]
fn main() {}