blob: add266dce5b0a6880e71705dfa4c0e9f568cf9dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
----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 {
"----"
}
|