mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
11 lines
261 B
Rust
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() {}
|