|
7 | 7 | "level": "error",
|
8 | 8 | "spans": [
|
9 | 9 | {
|
10 |
| - "file_name": "./tests/fixtures/str-lit-type-mismatch.rs", |
| 10 | + "file_name": "./tests/everything/str-lit-type-mismatch.rs", |
11 | 11 | "byte_start": 499,
|
12 | 12 | "byte_end": 504,
|
13 | 13 | "line_start": 13,
|
|
42 | 42 | "level": "help",
|
43 | 43 | "spans": [
|
44 | 44 | {
|
45 |
| - "file_name": "./tests/fixtures/str-lit-type-mismatch.rs", |
| 45 | + "file_name": "./tests/everything/str-lit-type-mismatch.rs", |
46 | 46 | "byte_start": 499,
|
47 | 47 | "byte_end": 504,
|
48 | 48 | "line_start": 13,
|
|
66 | 66 | "rendered": null
|
67 | 67 | }
|
68 | 68 | ],
|
69 |
| - "rendered": "error[E0308]: mismatched types\n --> ./tests/fixtures/str-lit-type-mismatch.rs:13:20\n |\n13 | let x: &[u8] = \"foo\"; //~ ERROR mismatched types\n | ^^^^^\n | |\n | expected slice, found str\n | help: consider adding a leading `b`: `b\"foo\"`\n |\n = note: expected type `&[u8]`\n found type `&'static str`\n\nIf you want more information on this error, try using \"rustc --explain E0308\"\n" |
| 69 | + "rendered": "error[E0308]: mismatched types\n --> ./tests/everything/str-lit-type-mismatch.rs:13:20\n |\n13 | let x: &[u8] = \"foo\"; //~ ERROR mismatched types\n | ^^^^^\n | |\n | expected slice, found str\n | help: consider adding a leading `b`: `b\"foo\"`\n |\n = note: expected type `&[u8]`\n found type `&'static str`\n\nIf you want more information on this error, try using \"rustc --explain E0308\"\n" |
70 | 70 | }
|
71 | 71 | {
|
72 | 72 | "message": "mismatched types",
|
|
77 | 77 | "level": "error",
|
78 | 78 | "spans": [
|
79 | 79 | {
|
80 |
| - "file_name": "./tests/fixtures/str-lit-type-mismatch.rs", |
| 80 | + "file_name": "./tests/everything/str-lit-type-mismatch.rs", |
81 | 81 | "byte_start": 555,
|
82 | 82 | "byte_end": 561,
|
83 | 83 | "line_start": 14,
|
|
112 | 112 | "level": "help",
|
113 | 113 | "spans": [
|
114 | 114 | {
|
115 |
| - "file_name": "./tests/fixtures/str-lit-type-mismatch.rs", |
| 115 | + "file_name": "./tests/everything/str-lit-type-mismatch.rs", |
116 | 116 | "byte_start": 555,
|
117 | 117 | "byte_end": 561,
|
118 | 118 | "line_start": 14,
|
|
136 | 136 | "rendered": null
|
137 | 137 | }
|
138 | 138 | ],
|
139 |
| - "rendered": "error[E0308]: mismatched types\n --> ./tests/fixtures/str-lit-type-mismatch.rs:14:23\n |\n14 | let y: &[u8; 4] = \"baaa\"; //~ ERROR mismatched types\n | ^^^^^^\n | |\n | expected array of 4 elements, found str\n | help: consider adding a leading `b`: `b\"baaa\"`\n |\n = note: expected type `&[u8; 4]`\n found type `&'static str`\n\nIf you want more information on this error, try using \"rustc --explain E0308\"\n" |
| 139 | + "rendered": "error[E0308]: mismatched types\n --> ./tests/everything/str-lit-type-mismatch.rs:14:23\n |\n14 | let y: &[u8; 4] = \"baaa\"; //~ ERROR mismatched types\n | ^^^^^^\n | |\n | expected array of 4 elements, found str\n | help: consider adding a leading `b`: `b\"baaa\"`\n |\n = note: expected type `&[u8; 4]`\n found type `&'static str`\n\nIf you want more information on this error, try using \"rustc --explain E0308\"\n" |
140 | 140 | }
|
141 | 141 | {
|
142 | 142 | "message": "mismatched types",
|
|
147 | 147 | "level": "error",
|
148 | 148 | "spans": [
|
149 | 149 | {
|
150 |
| - "file_name": "./tests/fixtures/str-lit-type-mismatch.rs", |
| 150 | + "file_name": "./tests/everything/str-lit-type-mismatch.rs", |
151 | 151 | "byte_start": 608,
|
152 | 152 | "byte_end": 614,
|
153 | 153 | "line_start": 15,
|
|
182 | 182 | "level": "help",
|
183 | 183 | "spans": [
|
184 | 184 | {
|
185 |
| - "file_name": "./tests/fixtures/str-lit-type-mismatch.rs", |
| 185 | + "file_name": "./tests/everything/str-lit-type-mismatch.rs", |
186 | 186 | "byte_start": 608,
|
187 | 187 | "byte_end": 614,
|
188 | 188 | "line_start": 15,
|
|
206 | 206 | "rendered": null
|
207 | 207 | }
|
208 | 208 | ],
|
209 |
| - "rendered": "error[E0308]: mismatched types\n --> ./tests/fixtures/str-lit-type-mismatch.rs:15:19\n |\n15 | let z: &str = b\"foo\"; //~ ERROR mismatched types\n | ^^^^^^\n | |\n | expected str, found array of 3 elements\n | help: consider removing the leading `b`: `\"foo\"`\n |\n = note: expected type `&str`\n found type `&'static [u8; 3]`\n\nIf you want more information on this error, try using \"rustc --explain E0308\"\n" |
| 209 | + "rendered": "error[E0308]: mismatched types\n --> ./tests/everything/str-lit-type-mismatch.rs:15:19\n |\n15 | let z: &str = b\"foo\"; //~ ERROR mismatched types\n | ^^^^^^\n | |\n | expected str, found array of 3 elements\n | help: consider removing the leading `b`: `\"foo\"`\n |\n = note: expected type `&str`\n found type `&'static [u8; 3]`\n\nIf you want more information on this error, try using \"rustc --explain E0308\"\n" |
210 | 210 | }
|
211 | 211 | {
|
212 | 212 | "message": "aborting due to 3 previous errors",
|
|
0 commit comments