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