about summary refs log tree commit diff
path: root/tests/ui/frontmatter/unclosed-1.rs
blob: d8b52b3e69c7c79864251b16f3c65e838a73ee8e (plain)
1
2
3
4
5
6
7
8
9
10
----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() {}