1 error: incorrect unicode escape sequence
2 --> $DIR/format-string-error-2.rs:77:20
4 LL | println!("\x7B}\u8 {", 1);
5 | ^^^ help: format of unicode escape sequences uses braces: `\u{8}`
7 error: invalid format string: expected `'}'`, found `'a'`
8 --> $DIR/format-string-error-2.rs:5:5
11 | - because of this opening brace
13 | ^ expected `}` in format string
15 = note: if you intended to print `{`, you can escape it using `{{`
17 error: invalid format string: expected `'}'`, found `'b'`
18 --> $DIR/format-string-error-2.rs:9:5
21 | - because of this opening brace
24 | ^ expected `}` in format string
26 = note: if you intended to print `{`, you can escape it using `{{`
28 error: invalid format string: expected `'}'`, found `'\'`
29 --> $DIR/format-string-error-2.rs:11:18
32 | - ^ expected `}` in format string
34 | because of this opening brace
36 = note: if you intended to print `{`, you can escape it using `{{`
38 error: invalid format string: expected `'}'`, found `'\'`
39 --> $DIR/format-string-error-2.rs:15:18
42 | - ^ expected `}` in format string
44 | because of this opening brace
46 = note: if you intended to print `{`, you can escape it using `{{`
48 error: invalid format string: expected `'}'`, found `'e'`
49 --> $DIR/format-string-error-2.rs:21:5
52 | - because of this opening brace
55 | ^ expected `}` in format string
57 = note: if you intended to print `{`, you can escape it using `{{`
59 error: invalid format string: expected `'}'`, found `'a'`
60 --> $DIR/format-string-error-2.rs:25:5
63 | - because of this opening brace
65 | ^ expected `}` in format string
67 = note: if you intended to print `{`, you can escape it using `{{`
69 error: invalid format string: expected `'}'`, found `'a'`
70 --> $DIR/format-string-error-2.rs:29:5
73 | - because of this opening brace
75 | ^ expected `}` in format string
77 = note: if you intended to print `{`, you can escape it using `{{`
79 error: invalid format string: expected `'}'`, found `'b'`
80 --> $DIR/format-string-error-2.rs:35:5
83 | - because of this opening brace
86 | ^ expected `}` in format string
88 = note: if you intended to print `{`, you can escape it using `{{`
90 error: invalid format string: expected `'}'`, found `'b'`
91 --> $DIR/format-string-error-2.rs:40:5
94 | - because of this opening brace
97 | ^ expected `}` in format string
99 = note: if you intended to print `{`, you can escape it using `{{`
101 error: invalid format string: expected `'}'`, found `'\'`
102 --> $DIR/format-string-error-2.rs:45:8
105 | - ^ expected `}` in format string
107 | because of this opening brace
109 = note: if you intended to print `{`, you can escape it using `{{`
111 error: invalid format string: expected `'}'`, found `'\'`
112 --> $DIR/format-string-error-2.rs:50:8
115 | - ^ expected `}` in format string
117 | because of this opening brace
119 = note: if you intended to print `{`, you can escape it using `{{`
121 error: invalid format string: expected `'}'`, found `'e'`
122 --> $DIR/format-string-error-2.rs:57:5
125 | - because of this opening brace
128 | ^ expected `}` in format string
130 = note: if you intended to print `{`, you can escape it using `{{`
132 error: invalid format string: expected `'}'`, found `'a'`
133 --> $DIR/format-string-error-2.rs:67:5
136 | - because of this opening brace
138 | ^ expected `}` in format string
140 = note: if you intended to print `{`, you can escape it using `{{`
142 error: 1 positional argument in format string, but no arguments were given
143 --> $DIR/format-string-error-2.rs:70:17
145 LL | println!("\t{}");
148 error: invalid format string: expected `'}'` but string was terminated
149 --> $DIR/format-string-error-2.rs:74:27
151 LL | println!("\x7B}\u{8} {", 1);
152 | -^ expected `'}'` in format string
154 | because of this opening brace
156 = note: if you intended to print `{`, you can escape it using `{{`
158 error: invalid format string: unmatched `}` found
159 --> $DIR/format-string-error-2.rs:81:21
161 LL | println!(r#"\x7B}\u{8} {"#, 1);
162 | ^ unmatched `}` in format string
164 = note: if you intended to print `}`, you can escape it using `}}`
166 error: invalid format string: unmatched `}` found
167 --> $DIR/format-string-error-2.rs:84:21
169 LL | println!(r#"\x7B}\u8 {"#, 1);
170 | ^ unmatched `}` in format string
172 = note: if you intended to print `}`, you can escape it using `}}`
174 error: aborting due to 18 previous errors