cargo/tests/testsuite/script/rustc_fixtures/hyphen-in-infostring-leading.rs
Ed Page 57c97cc190 test(script): Switch frontmatter tests to end-to-end
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
2025-08-29 16:11:59 -05:00

10 lines
145 B
Rust

--- -toml
//~^ ERROR: invalid infostring for frontmatter
---
// infostrings cannot have leading hyphens
#![feature(frontmatter)]
fn main() {}