mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

This will make it easier to validate error improvements I'm working on as well as make it easier to update from rust-lang/rust
12 lines
263 B
Rust
12 lines
263 B
Rust
#![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.
|
|
// CARGO(pass): can't detect this, deferring to rustc
|
|
|
|
fn main() {}
|