2013-10-01 19:43:19 -05:00
|
|
|
static s: &'static str =
|
2022-04-23 21:44:25 -05:00
|
|
|
r#""## //~ ERROR too many `#` when terminating raw string
|
|
|
|
;
|
|
|
|
|
|
|
|
static s2: &'static str =
|
2013-10-01 19:43:19 -05:00
|
|
|
r#"
|
2022-04-23 21:44:25 -05:00
|
|
|
"#### //~ ERROR too many `#` when terminating raw string
|
2013-10-01 19:43:19 -05:00
|
|
|
;
|
2022-04-23 21:44:25 -05:00
|
|
|
|
|
|
|
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() {}
|