all: update to std.builtin.Type.{Pointer,Array,StructField} field renames

This commit is contained in:
mlugg
2025-01-15 17:34:12 +00:00
parent 89a9cabafd
commit 9804cc8bc6
26 changed files with 117 additions and 153 deletions

View File

@@ -642,7 +642,7 @@ pub fn WriteStream(
},
},
.many, .slice => {
if (ptr_info.size == .many and ptr_info.sentinel == null)
if (ptr_info.size == .many and ptr_info.sentinel() == null)
@compileError("unable to stringify type '" ++ @typeName(T) ++ "' without sentinel");
const slice = if (ptr_info.size == .many) std.mem.span(value) else value;