mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
fc5f0f7ee5
When working on the stabilization report, I found it annoying to determine what cases were covered because areas of the frontmatter feature were either not in the file name or in inconsistent locations. This moves the area of frontmatter to the start of the file name and the moves to more specific the later in the file name so coverage is easier to see.
11 lines
231 B
Rust
11 lines
231 B
Rust
---
|
|
//~^ 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() {}
|