]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/wrong-escape-of-curly-braces.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / wrong-escape-of-curly-braces.stderr
1 error: unknown character escape: `{`
2 --> $DIR/wrong-escape-of-curly-braces.rs:3:17
3 |
4 LL | let bad = "\{it is wrong\}";
5 | ^ unknown character escape
6 |
7 = help: if used in a formatting string, curly braces are escaped with `{{` and `}}`
8
9 error: unknown character escape: `}`
10 --> $DIR/wrong-escape-of-curly-braces.rs:3:30
11 |
12 LL | let bad = "\{it is wrong\}";
13 | ^ unknown character escape
14 |
15 = help: if used in a formatting string, curly braces are escaped with `{{` and `}}`
16
17 error: aborting due to 2 previous errors
18