1 error: incorrect unicode escape sequence
2 --> $DIR/format-string-error-2.rs:78:20
4 LL | println!("\x7B}\u8 {", 1);
7 | help: format of unicode escape sequences uses braces: `\u{8}`
9 error: invalid format string: expected `'}'`, found `'a'`
10 --> $DIR/format-string-error-2.rs:6:5
13 | - because of this opening brace
15 | ^ expected `}` in format string
17 = note: if you intended to print `{`, you can escape it using `{{`
19 error: invalid format string: expected `'}'`, found `'b'`
20 --> $DIR/format-string-error-2.rs:10:5
23 | - because of this opening brace
26 | ^ expected `}` in format string
28 = note: if you intended to print `{`, you can escape it using `{{`
30 error: invalid format string: expected `'}'`, found `'\'`
31 --> $DIR/format-string-error-2.rs:12:18
34 | - ^ expected `}` in format string
36 | because of this opening brace
38 = note: if you intended to print `{`, you can escape it using `{{`
40 error: invalid format string: expected `'}'`, found `'\'`
41 --> $DIR/format-string-error-2.rs:16:18
44 | - ^ expected `}` in format string
46 | because of this opening brace
48 = note: if you intended to print `{`, you can escape it using `{{`
50 error: invalid format string: expected `'}'`, found `'e'`
51 --> $DIR/format-string-error-2.rs:22:5
54 | - because of this opening brace
57 | ^ expected `}` in format string
59 = note: if you intended to print `{`, you can escape it using `{{`
61 error: invalid format string: expected `'}'`, found `'a'`
62 --> $DIR/format-string-error-2.rs:26:5
65 | - because of this opening brace
67 | ^ expected `}` in format string
69 = note: if you intended to print `{`, you can escape it using `{{`
71 error: invalid format string: expected `'}'`, found `'a'`
72 --> $DIR/format-string-error-2.rs:30:5
75 | - because of this opening brace
77 | ^ expected `}` in format string
79 = note: if you intended to print `{`, you can escape it using `{{`
81 error: invalid format string: expected `'}'`, found `'b'`
82 --> $DIR/format-string-error-2.rs:36:5
85 | - because of this opening brace
88 | ^ expected `}` in format string
90 = note: if you intended to print `{`, you can escape it using `{{`
92 error: invalid format string: expected `'}'`, found `'b'`
93 --> $DIR/format-string-error-2.rs:41:5
96 | - because of this opening brace
99 | ^ expected `}` in format string
101 = note: if you intended to print `{`, you can escape it using `{{`
103 error: invalid format string: expected `'}'`, found `'\'`
104 --> $DIR/format-string-error-2.rs:46:8
107 | - ^ expected `}` in format string
109 | because of this opening brace
111 = note: if you intended to print `{`, you can escape it using `{{`
113 error: invalid format string: expected `'}'`, found `'\'`
114 --> $DIR/format-string-error-2.rs:51:8
117 | - ^ expected `}` in format string
119 | because of this opening brace
121 = note: if you intended to print `{`, you can escape it using `{{`
123 error: invalid format string: expected `'}'`, found `'e'`
124 --> $DIR/format-string-error-2.rs:58:5
127 | - because of this opening brace
130 | ^ expected `}` in format string
132 = note: if you intended to print `{`, you can escape it using `{{`
134 error: invalid format string: expected `'}'`, found `'a'`
135 --> $DIR/format-string-error-2.rs:68:5
138 | - because of this opening brace
140 | ^ expected `}` in format string
142 = note: if you intended to print `{`, you can escape it using `{{`
144 error: 1 positional argument in format string, but no arguments were given
145 --> $DIR/format-string-error-2.rs:71:17
147 LL | println!("\t{}");
150 error: invalid format string: expected `'}'` but string was terminated
151 --> $DIR/format-string-error-2.rs:75:27
153 LL | println!("\x7B}\u{8} {", 1);
154 | -^ expected `'}'` in format string
156 | because of this opening brace
158 = note: if you intended to print `{`, you can escape it using `{{`
160 error: invalid format string: unmatched `}` found
161 --> $DIR/format-string-error-2.rs:82:21
163 LL | println!(r#"\x7B}\u{8} {"#, 1);
164 | ^ unmatched `}` in format string
166 = note: if you intended to print `}`, you can escape it using `}}`
168 error: invalid format string: unmatched `}` found
169 --> $DIR/format-string-error-2.rs:85:21
171 LL | println!(r#"\x7B}\u8 {"#, 1);
172 | ^ unmatched `}` in format string
174 = note: if you intended to print `}`, you can escape it using `}}`
176 error: aborting due to 18 previous errors