Files
rust/tests/ui/frontmatter/frontmatter-after-tokens.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
209 B
Rust
Raw Normal View History

#![feature(frontmatter)]
---
//~^ ERROR: expected item, found `-`
// FIXME(frontmatter): make this diagnostic better
---
// frontmatters must be at the start of a file. This test ensures that.
fn main() {}