2018-10-20 15:36:17 -05:00
|
|
|
error: unknown character escape: {
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/wrong-escape-of-curly-braces.rs:3:17
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let bad = "/{it is wrong/}";
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: if used in a formatting string, curly braces are escaped with `{{` and `}}`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/wrong-escape-of-curly-braces.rs:3:17
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let bad = "/{it is wrong/}";
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown character escape: }
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/wrong-escape-of-curly-braces.rs:3:30
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let bad = "/{it is wrong/}";
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: if used in a formatting string, curly braces are escaped with `{{` and `}}`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/wrong-escape-of-curly-braces.rs:3:30
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | let bad = "/{it is wrong/}";
|
|
|
|
| ^
|
|
|
|
|
2018-10-20 16:38:23 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2018-10-20 15:36:17 -05:00
|
|
|
|