blob: add266dce5b0a6880e71705dfa4c0e9f568cf9dc [file] [log] [blame]
----cargo
//~^ ERROR: unclosed frontmatter
//~| ERROR: frontmatters are experimental
//@ compile-flags: --crate-type lib
// Leading whitespace on the feature line prevents recovery. However
// the dashes quoted will not be used for recovery and the entire file
// should be treated as within the frontmatter block.
#![feature(frontmatter)]
fn foo() -> &str {
"----"
}