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