mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
23 lines
409 B
Rust
23 lines
409 B
Rust
static s: &'static str =
|
|
r#""## //~ ERROR too many `#` when terminating raw string
|
|
;
|
|
|
|
static s2: &'static str =
|
|
r#"
|
|
"#### //~ ERROR too many `#` when terminating raw string
|
|
;
|
|
|
|
const A: &'static str = r"" //~ ERROR expected `;`, found `#`
|
|
|
|
// Test
|
|
#[test]
|
|
fn test() {}
|
|
|
|
const B: &'static str = r""## //~ ERROR too many `#` when terminating raw string
|
|
|
|
// Test
|
|
#[test]
|
|
fn test2() {}
|
|
|
|
fn main() {}
|