cargo/tests/testsuite/script/rustc_fixtures/hyphen-in-infostring-non-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

11 lines
196 B
Rust

--- Cargo-toml
---
// infostrings can contain hyphens as long as a hyphen isn't the first character.
//@ check-pass
// CARGO(fail): unsupported infostring
#![feature(frontmatter)]
fn main() {}