@@ -9,138 +9,138 @@ help: format of unicode escape sequences uses braces
99LL | println!("\x7B}\u{8} {", 1);
1010 | ~~~~~
1111
12- error: invalid format string: expected `'}' `, found `'a' `
12+ error: invalid format string: expected `} `, found `a `
1313 --> $DIR/format-string-error-2.rs:5:5
1414 |
1515LL | format!("{
1616 | - because of this opening brace
1717LL | a");
18- | ^ expected `'}' ` in format string
18+ | ^ expected `} ` in format string
1919 |
2020 = note: if you intended to print `{`, you can escape it using `{{`
2121
22- error: invalid format string: expected `'}' `, found `'b' `
22+ error: invalid format string: expected `} `, found `b `
2323 --> $DIR/format-string-error-2.rs:9:5
2424 |
2525LL | format!("{ \
2626 | - because of this opening brace
2727LL | \
2828LL | b");
29- | ^ expected `'}' ` in format string
29+ | ^ expected `} ` in format string
3030 |
3131 = note: if you intended to print `{`, you can escape it using `{{`
3232
33- error: invalid format string: expected `'}' `, found `'\' `
33+ error: invalid format string: expected `} `, found `\ `
3434 --> $DIR/format-string-error-2.rs:11:18
3535 |
3636LL | format!(r#"{ \
37- | - ^ expected `'}' ` in format string
37+ | - ^ expected `} ` in format string
3838 | |
3939 | because of this opening brace
4040 |
4141 = note: if you intended to print `{`, you can escape it using `{{`
4242
43- error: invalid format string: expected `'}' `, found `'\' `
43+ error: invalid format string: expected `} `, found `\ `
4444 --> $DIR/format-string-error-2.rs:15:18
4545 |
4646LL | format!(r#"{ \n
47- | - ^ expected `'}' ` in format string
47+ | - ^ expected `} ` in format string
4848 | |
4949 | because of this opening brace
5050 |
5151 = note: if you intended to print `{`, you can escape it using `{{`
5252
53- error: invalid format string: expected `'}' `, found `'e' `
53+ error: invalid format string: expected `} `, found `e `
5454 --> $DIR/format-string-error-2.rs:21:5
5555 |
5656LL | format!("{ \n
5757 | - because of this opening brace
5858LL | \n
5959LL | e");
60- | ^ expected `'}' ` in format string
60+ | ^ expected `} ` in format string
6161 |
6262 = note: if you intended to print `{`, you can escape it using `{{`
6363
64- error: invalid format string: expected `'}' `, found `'a' `
64+ error: invalid format string: expected `} `, found `a `
6565 --> $DIR/format-string-error-2.rs:25:5
6666 |
6767LL | {
6868 | - because of this opening brace
6969LL | a");
70- | ^ expected `'}' ` in format string
70+ | ^ expected `} ` in format string
7171 |
7272 = note: if you intended to print `{`, you can escape it using `{{`
7373
74- error: invalid format string: expected `'}' `, found `'a' `
74+ error: invalid format string: expected `} `, found `a `
7575 --> $DIR/format-string-error-2.rs:29:5
7676 |
7777LL | {
7878 | - because of this opening brace
7979LL | a
80- | ^ expected `'}' ` in format string
80+ | ^ expected `} ` in format string
8181 |
8282 = note: if you intended to print `{`, you can escape it using `{{`
8383
84- error: invalid format string: expected `'}' `, found `'b' `
84+ error: invalid format string: expected `} `, found `b `
8585 --> $DIR/format-string-error-2.rs:35:5
8686 |
8787LL | { \
8888 | - because of this opening brace
8989LL | \
9090LL | b");
91- | ^ expected `'}' ` in format string
91+ | ^ expected `} ` in format string
9292 |
9393 = note: if you intended to print `{`, you can escape it using `{{`
9494
95- error: invalid format string: expected `'}' `, found `'b' `
95+ error: invalid format string: expected `} `, found `b `
9696 --> $DIR/format-string-error-2.rs:40:5
9797 |
9898LL | { \
9999 | - because of this opening brace
100100LL | \
101101LL | b \
102- | ^ expected `'}' ` in format string
102+ | ^ expected `} ` in format string
103103 |
104104 = note: if you intended to print `{`, you can escape it using `{{`
105105
106- error: invalid format string: expected `'}' `, found `'\' `
106+ error: invalid format string: expected `} `, found `\ `
107107 --> $DIR/format-string-error-2.rs:45:8
108108 |
109109LL | raw { \
110- | - ^ expected `'}' ` in format string
110+ | - ^ expected `} ` in format string
111111 | |
112112 | because of this opening brace
113113 |
114114 = note: if you intended to print `{`, you can escape it using `{{`
115115
116- error: invalid format string: expected `'}' `, found `'\' `
116+ error: invalid format string: expected `} `, found `\ `
117117 --> $DIR/format-string-error-2.rs:50:8
118118 |
119119LL | raw { \n
120- | - ^ expected `'}' ` in format string
120+ | - ^ expected `} ` in format string
121121 | |
122122 | because of this opening brace
123123 |
124124 = note: if you intended to print `{`, you can escape it using `{{`
125125
126- error: invalid format string: expected `'}' `, found `'e' `
126+ error: invalid format string: expected `} `, found `e `
127127 --> $DIR/format-string-error-2.rs:57:5
128128 |
129129LL | { \n
130130 | - because of this opening brace
131131LL | \n
132132LL | e");
133- | ^ expected `'}' ` in format string
133+ | ^ expected `} ` in format string
134134 |
135135 = note: if you intended to print `{`, you can escape it using `{{`
136136
137- error: invalid format string: expected `'}' `, found `'a' `
137+ error: invalid format string: expected `} `, found `a `
138138 --> $DIR/format-string-error-2.rs:67:5
139139 |
140140LL | {
141141 | - because of this opening brace
142142LL | asdf}
143- | ^ expected `'}' ` in format string
143+ | ^ expected `} ` in format string
144144 |
145145 = note: if you intended to print `{`, you can escape it using `{{`
146146
@@ -150,11 +150,11 @@ error: 1 positional argument in format string, but no arguments were given
150150LL | println!("\t{}");
151151 | ^^
152152
153- error: invalid format string: expected `'}' ` but string was terminated
153+ error: invalid format string: expected `} ` but string was terminated
154154 --> $DIR/format-string-error-2.rs:74:27
155155 |
156156LL | println!("\x7B}\u{8} {", 1);
157- | -^ expected `'}' ` in format string
157+ | -^ expected `} ` in format string
158158 | |
159159 | because of this opening brace
160160 |
0 commit comments