fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
975 B36 linesraw
1error: too many `#` when terminating raw string
2  --> $DIR/raw-str-unbalanced.rs:2:10
3   |
4LL |     r#""##
5   |     -----^ help: remove the extra `#`
6   |     |
7   |     this raw string started with 1 `#`
8
9error: too many `#` when terminating raw string
10  --> $DIR/raw-str-unbalanced.rs:7:9
11   |
12LL | /     r#"
13LL | |       "####
14   | |        -^^^ help: remove the extra `#`s
15   | |________|
16   |          this raw string started with 1 `#`
17
18error: expected `;`, found `#`
19  --> $DIR/raw-str-unbalanced.rs:10:28
20   |
21LL | const A: &'static str = r""
22   |                            ^ help: add `;` here
23...
24LL | #[test]
25   | - unexpected token
26
27error: too many `#` when terminating raw string
28  --> $DIR/raw-str-unbalanced.rs:16:28
29   |
30LL | const B: &'static str = r""##
31   |                         ---^^ help: remove the extra `#`s
32   |                         |
33   |                         this raw string started with 0 `#`s
34
35error: aborting due to 4 previous errors
36