1 error: unknown character escape: `{`
2 --> $DIR/wrong-escape-of-curly-braces.rs:3:17
4 LL | let bad = "\{it is wrong\}";
5 | ^ unknown character escape
7 = help: if used in a formatting string, curly braces are escaped with `{{` and `}}`
9 error: unknown character escape: `}`
10 --> $DIR/wrong-escape-of-curly-braces.rs:3:30
12 LL | let bad = "\{it is wrong\}";
13 | ^ unknown character escape
15 = help: if used in a formatting string, curly braces are escaped with `{{` and `}}`
17 error: aborting due to 2 previous errors