@@ -10,7 +10,7 @@ error: invalid format string: expected `'}'`, found `'a'`
10
10
LL | format!("{
11
11
| - because of this opening brace
12
12
LL | a");
13
- | ^ expected `} ` in format string
13
+ | ^ expected `'}' ` in format string
14
14
|
15
15
= note: if you intended to print `{`, you can escape it using `{{`
16
16
@@ -21,15 +21,15 @@ LL | format!("{ \
21
21
| - because of this opening brace
22
22
LL | \
23
23
LL | b");
24
- | ^ expected `} ` in format string
24
+ | ^ expected `'}' ` in format string
25
25
|
26
26
= note: if you intended to print `{`, you can escape it using `{{`
27
27
28
28
error: invalid format string: expected `'}'`, found `'\'`
29
29
--> $DIR/format-string-error-2.rs:11:18
30
30
|
31
31
LL | format!(r#"{ \
32
- | - ^ expected `} ` in format string
32
+ | - ^ expected `'}' ` in format string
33
33
| |
34
34
| because of this opening brace
35
35
|
@@ -39,7 +39,7 @@ error: invalid format string: expected `'}'`, found `'\'`
39
39
--> $DIR/format-string-error-2.rs:15:18
40
40
|
41
41
LL | format!(r#"{ \n
42
- | - ^ expected `} ` in format string
42
+ | - ^ expected `'}' ` in format string
43
43
| |
44
44
| because of this opening brace
45
45
|
@@ -52,7 +52,7 @@ LL | format!("{ \n
52
52
| - because of this opening brace
53
53
LL | \n
54
54
LL | e");
55
- | ^ expected `} ` in format string
55
+ | ^ expected `'}' ` in format string
56
56
|
57
57
= note: if you intended to print `{`, you can escape it using `{{`
58
58
@@ -62,7 +62,7 @@ error: invalid format string: expected `'}'`, found `'a'`
62
62
LL | {
63
63
| - because of this opening brace
64
64
LL | a");
65
- | ^ expected `} ` in format string
65
+ | ^ expected `'}' ` in format string
66
66
|
67
67
= note: if you intended to print `{`, you can escape it using `{{`
68
68
@@ -72,7 +72,7 @@ error: invalid format string: expected `'}'`, found `'a'`
72
72
LL | {
73
73
| - because of this opening brace
74
74
LL | a
75
- | ^ expected `} ` in format string
75
+ | ^ expected `'}' ` in format string
76
76
|
77
77
= note: if you intended to print `{`, you can escape it using `{{`
78
78
@@ -83,7 +83,7 @@ LL | { \
83
83
| - because of this opening brace
84
84
LL | \
85
85
LL | b");
86
- | ^ expected `} ` in format string
86
+ | ^ expected `'}' ` in format string
87
87
|
88
88
= note: if you intended to print `{`, you can escape it using `{{`
89
89
@@ -94,15 +94,15 @@ LL | { \
94
94
| - because of this opening brace
95
95
LL | \
96
96
LL | b \
97
- | ^ expected `} ` in format string
97
+ | ^ expected `'}' ` in format string
98
98
|
99
99
= note: if you intended to print `{`, you can escape it using `{{`
100
100
101
101
error: invalid format string: expected `'}'`, found `'\'`
102
102
--> $DIR/format-string-error-2.rs:45:8
103
103
|
104
104
LL | raw { \
105
- | - ^ expected `} ` in format string
105
+ | - ^ expected `'}' ` in format string
106
106
| |
107
107
| because of this opening brace
108
108
|
@@ -112,7 +112,7 @@ error: invalid format string: expected `'}'`, found `'\'`
112
112
--> $DIR/format-string-error-2.rs:50:8
113
113
|
114
114
LL | raw { \n
115
- | - ^ expected `} ` in format string
115
+ | - ^ expected `'}' ` in format string
116
116
| |
117
117
| because of this opening brace
118
118
|
@@ -125,7 +125,7 @@ LL | { \n
125
125
| - because of this opening brace
126
126
LL | \n
127
127
LL | e");
128
- | ^ expected `} ` in format string
128
+ | ^ expected `'}' ` in format string
129
129
|
130
130
= note: if you intended to print `{`, you can escape it using `{{`
131
131
@@ -135,7 +135,7 @@ error: invalid format string: expected `'}'`, found `'a'`
135
135
LL | {
136
136
| - because of this opening brace
137
137
LL | asdf}
138
- | ^ expected `} ` in format string
138
+ | ^ expected `'}' ` in format string
139
139
|
140
140
= note: if you intended to print `{`, you can escape it using `{{`
141
141
0 commit comments