@@ -10,7 +10,7 @@ error: invalid format string: expected `'}'`, found `'a'`
1010LL | format!("{
1111 | - because of this opening brace
1212LL | a");
13- | ^ expected `} ` in format string
13+ | ^ expected `'}' ` in format string
1414 |
1515 = note: if you intended to print `{`, you can escape it using `{{`
1616
@@ -21,15 +21,15 @@ LL | format!("{ \
2121 | - because of this opening brace
2222LL | \
2323LL | b");
24- | ^ expected `} ` in format string
24+ | ^ expected `'}' ` in format string
2525 |
2626 = note: if you intended to print `{`, you can escape it using `{{`
2727
2828error: invalid format string: expected `'}'`, found `'\'`
2929 --> $DIR/format-string-error-2.rs:11:18
3030 |
3131LL | format!(r#"{ \
32- | - ^ expected `} ` in format string
32+ | - ^ expected `'}' ` in format string
3333 | |
3434 | because of this opening brace
3535 |
@@ -39,7 +39,7 @@ error: invalid format string: expected `'}'`, found `'\'`
3939 --> $DIR/format-string-error-2.rs:15:18
4040 |
4141LL | format!(r#"{ \n
42- | - ^ expected `} ` in format string
42+ | - ^ expected `'}' ` in format string
4343 | |
4444 | because of this opening brace
4545 |
@@ -52,7 +52,7 @@ LL | format!("{ \n
5252 | - because of this opening brace
5353LL | \n
5454LL | e");
55- | ^ expected `} ` in format string
55+ | ^ expected `'}' ` in format string
5656 |
5757 = note: if you intended to print `{`, you can escape it using `{{`
5858
@@ -62,7 +62,7 @@ error: invalid format string: expected `'}'`, found `'a'`
6262LL | {
6363 | - because of this opening brace
6464LL | a");
65- | ^ expected `} ` in format string
65+ | ^ expected `'}' ` in format string
6666 |
6767 = note: if you intended to print `{`, you can escape it using `{{`
6868
@@ -72,7 +72,7 @@ error: invalid format string: expected `'}'`, found `'a'`
7272LL | {
7373 | - because of this opening brace
7474LL | a
75- | ^ expected `} ` in format string
75+ | ^ expected `'}' ` in format string
7676 |
7777 = note: if you intended to print `{`, you can escape it using `{{`
7878
@@ -83,7 +83,7 @@ LL | { \
8383 | - because of this opening brace
8484LL | \
8585LL | b");
86- | ^ expected `} ` in format string
86+ | ^ expected `'}' ` in format string
8787 |
8888 = note: if you intended to print `{`, you can escape it using `{{`
8989
@@ -94,15 +94,15 @@ LL | { \
9494 | - because of this opening brace
9595LL | \
9696LL | b \
97- | ^ expected `} ` in format string
97+ | ^ expected `'}' ` in format string
9898 |
9999 = note: if you intended to print `{`, you can escape it using `{{`
100100
101101error: invalid format string: expected `'}'`, found `'\'`
102102 --> $DIR/format-string-error-2.rs:45:8
103103 |
104104LL | raw { \
105- | - ^ expected `} ` in format string
105+ | - ^ expected `'}' ` in format string
106106 | |
107107 | because of this opening brace
108108 |
@@ -112,7 +112,7 @@ error: invalid format string: expected `'}'`, found `'\'`
112112 --> $DIR/format-string-error-2.rs:50:8
113113 |
114114LL | raw { \n
115- | - ^ expected `} ` in format string
115+ | - ^ expected `'}' ` in format string
116116 | |
117117 | because of this opening brace
118118 |
@@ -125,7 +125,7 @@ LL | { \n
125125 | - because of this opening brace
126126LL | \n
127127LL | e");
128- | ^ expected `} ` in format string
128+ | ^ expected `'}' ` in format string
129129 |
130130 = note: if you intended to print `{`, you can escape it using `{{`
131131
@@ -135,7 +135,7 @@ error: invalid format string: expected `'}'`, found `'a'`
135135LL | {
136136 | - because of this opening brace
137137LL | asdf}
138- | ^ expected `} ` in format string
138+ | ^ expected `'}' ` in format string
139139 |
140140 = note: if you intended to print `{`, you can escape it using `{{`
141141
0 commit comments