| ... | @@ -27202,7 +27202,7 @@ fn analyzeSlice( | ... | @@ -27202,7 +27202,7 @@ fn analyzeSlice( |
| 27202 | if (!end_is_len) { | 27202 | if (!end_is_len) { |
| 27203 | break :e try sema.coerce(block, Type.usize, uncasted_end_opt, end_src); | 27203 | break :e try sema.coerce(block, Type.usize, uncasted_end_opt, end_src); |
| 27204 | } | 27204 | } |
| 27205 | return sema.fail(block, end_src, "slice of pointer must include end value", .{}); | 27205 | return sema.fail(block, src, "slice of pointer must include end value", .{}); |
| 27206 | }; | 27206 | }; |
| 27207 | | 27207 | |
| 27208 | const sentinel = s: { | 27208 | const sentinel = s: { |