rust/tests/ui/frontmatter/unclosed-1.rs

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