fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
589 B18 linesraw
1error: unknown character escape: {
2  --> $DIR/wrong-escape-of-curly-braces.rs:3:17
3   |
4LL |     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
9error: unknown character escape: }
10  --> $DIR/wrong-escape-of-curly-braces.rs:3:30
11   |
12LL |     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
17error: aborting due to 2 previous errors
18