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