1
1
error: incorrect unicode escape sequence
2
- --> $DIR/format-string-error-2.rs:78 :20
2
+ --> $DIR/format-string-error-2.rs:77 :20
3
3
|
4
4
LL | println!("\x7B}\u8 {", 1);
5
5
| ^^-
6
6
| |
7
7
| help: format of unicode escape sequences uses braces: `\u{8}`
8
8
9
9
error: invalid format string: expected `'}'`, found `'a'`
10
- --> $DIR/format-string-error-2.rs:6 :5
10
+ --> $DIR/format-string-error-2.rs:5 :5
11
11
|
12
12
LL | format!("{
13
13
| - because of this opening brace
@@ -17,7 +17,7 @@ LL | a");
17
17
= note: if you intended to print `{`, you can escape it using `{{`
18
18
19
19
error: invalid format string: expected `'}'`, found `'b'`
20
- --> $DIR/format-string-error-2.rs:10 :5
20
+ --> $DIR/format-string-error-2.rs:9 :5
21
21
|
22
22
LL | format!("{ \
23
23
| - because of this opening brace
@@ -28,7 +28,7 @@ LL | b");
28
28
= note: if you intended to print `{`, you can escape it using `{{`
29
29
30
30
error: invalid format string: expected `'}'`, found `'\'`
31
- --> $DIR/format-string-error-2.rs:12 :18
31
+ --> $DIR/format-string-error-2.rs:11 :18
32
32
|
33
33
LL | format!(r#"{ \
34
34
| - ^ expected `}` in format string
@@ -38,7 +38,7 @@ LL | format!(r#"{ \
38
38
= note: if you intended to print `{`, you can escape it using `{{`
39
39
40
40
error: invalid format string: expected `'}'`, found `'\'`
41
- --> $DIR/format-string-error-2.rs:16 :18
41
+ --> $DIR/format-string-error-2.rs:15 :18
42
42
|
43
43
LL | format!(r#"{ \n
44
44
| - ^ expected `}` in format string
@@ -48,7 +48,7 @@ LL | format!(r#"{ \n
48
48
= note: if you intended to print `{`, you can escape it using `{{`
49
49
50
50
error: invalid format string: expected `'}'`, found `'e'`
51
- --> $DIR/format-string-error-2.rs:22 :5
51
+ --> $DIR/format-string-error-2.rs:21 :5
52
52
|
53
53
LL | format!("{ \n
54
54
| - because of this opening brace
@@ -59,7 +59,7 @@ LL | e");
59
59
= note: if you intended to print `{`, you can escape it using `{{`
60
60
61
61
error: invalid format string: expected `'}'`, found `'a'`
62
- --> $DIR/format-string-error-2.rs:26 :5
62
+ --> $DIR/format-string-error-2.rs:25 :5
63
63
|
64
64
LL | {
65
65
| - because of this opening brace
@@ -69,7 +69,7 @@ LL | a");
69
69
= note: if you intended to print `{`, you can escape it using `{{`
70
70
71
71
error: invalid format string: expected `'}'`, found `'a'`
72
- --> $DIR/format-string-error-2.rs:30 :5
72
+ --> $DIR/format-string-error-2.rs:29 :5
73
73
|
74
74
LL | {
75
75
| - because of this opening brace
79
79
= note: if you intended to print `{`, you can escape it using `{{`
80
80
81
81
error: invalid format string: expected `'}'`, found `'b'`
82
- --> $DIR/format-string-error-2.rs:36 :5
82
+ --> $DIR/format-string-error-2.rs:35 :5
83
83
|
84
84
LL | { \
85
85
| - because of this opening brace
@@ -90,7 +90,7 @@ LL | b");
90
90
= note: if you intended to print `{`, you can escape it using `{{`
91
91
92
92
error: invalid format string: expected `'}'`, found `'b'`
93
- --> $DIR/format-string-error-2.rs:41 :5
93
+ --> $DIR/format-string-error-2.rs:40 :5
94
94
|
95
95
LL | { \
96
96
| - because of this opening brace
@@ -101,7 +101,7 @@ LL | b \
101
101
= note: if you intended to print `{`, you can escape it using `{{`
102
102
103
103
error: invalid format string: expected `'}'`, found `'\'`
104
- --> $DIR/format-string-error-2.rs:46 :8
104
+ --> $DIR/format-string-error-2.rs:45 :8
105
105
|
106
106
LL | raw { \
107
107
| - ^ expected `}` in format string
@@ -111,7 +111,7 @@ LL | raw { \
111
111
= note: if you intended to print `{`, you can escape it using `{{`
112
112
113
113
error: invalid format string: expected `'}'`, found `'\'`
114
- --> $DIR/format-string-error-2.rs:51 :8
114
+ --> $DIR/format-string-error-2.rs:50 :8
115
115
|
116
116
LL | raw { \n
117
117
| - ^ expected `}` in format string
@@ -121,7 +121,7 @@ LL | raw { \n
121
121
= note: if you intended to print `{`, you can escape it using `{{`
122
122
123
123
error: invalid format string: expected `'}'`, found `'e'`
124
- --> $DIR/format-string-error-2.rs:58 :5
124
+ --> $DIR/format-string-error-2.rs:57 :5
125
125
|
126
126
LL | { \n
127
127
| - because of this opening brace
@@ -132,7 +132,7 @@ LL | e");
132
132
= note: if you intended to print `{`, you can escape it using `{{`
133
133
134
134
error: invalid format string: expected `'}'`, found `'a'`
135
- --> $DIR/format-string-error-2.rs:68 :5
135
+ --> $DIR/format-string-error-2.rs:67 :5
136
136
|
137
137
LL | {
138
138
| - because of this opening brace
@@ -142,13 +142,13 @@ LL | asdf}
142
142
= note: if you intended to print `{`, you can escape it using `{{`
143
143
144
144
error: 1 positional argument in format string, but no arguments were given
145
- --> $DIR/format-string-error-2.rs:71 :17
145
+ --> $DIR/format-string-error-2.rs:70 :17
146
146
|
147
147
LL | println!("\t{}");
148
148
| ^^
149
149
150
150
error: invalid format string: expected `'}'` but string was terminated
151
- --> $DIR/format-string-error-2.rs:75 :27
151
+ --> $DIR/format-string-error-2.rs:74 :27
152
152
|
153
153
LL | println!("\x7B}\u{8} {", 1);
154
154
| -^ expected `'}'` in format string
@@ -158,15 +158,15 @@ LL | println!("\x7B}\u{8} {", 1);
158
158
= note: if you intended to print `{`, you can escape it using `{{`
159
159
160
160
error: invalid format string: unmatched `}` found
161
- --> $DIR/format-string-error-2.rs:82 :21
161
+ --> $DIR/format-string-error-2.rs:81 :21
162
162
|
163
163
LL | println!(r#"\x7B}\u{8} {"#, 1);
164
164
| ^ unmatched `}` in format string
165
165
|
166
166
= note: if you intended to print `}`, you can escape it using `}}`
167
167
168
168
error: invalid format string: unmatched `}` found
169
- --> $DIR/format-string-error-2.rs:85 :21
169
+ --> $DIR/format-string-error-2.rs:84 :21
170
170
|
171
171
LL | println!(r#"\x7B}\u8 {"#, 1);
172
172
| ^ unmatched `}` in format string
0 commit comments