about summary refs log tree commit diff
path: root/tests/ui/frontmatter/frontmatter-whitespace-1.rs
blob: 3b7f762d26ea398ad9aed24011b8cce2bd10d50f (plain)
1
2
3
4
5
6
7
8
9
10
  ---
//~^ ERROR: invalid preceding whitespace for frontmatter opening
//~^^ ERROR: unclosed frontmatter
  ---

#![feature(frontmatter)]

// check that whitespaces should not precede the frontmatter opening or close.

fn main() {}