| ... | @@ -1869,7 +1869,7 @@ pub const Type = struct { | ... | @@ -1869,7 +1869,7 @@ pub const Type = struct { |
| 1869 | return switch (mod.intern_pool.indexToKey(ty.toIntern())) { | 1869 | return switch (mod.intern_pool.indexToKey(ty.toIntern())) { |
| 1870 | .opt_type => |child_type| child_type == .anyerror_type or switch (mod.intern_pool.indexToKey(child_type)) { | 1870 | .opt_type => |child_type| child_type == .anyerror_type or switch (mod.intern_pool.indexToKey(child_type)) { |
| 1871 | .ptr_type => |ptr_type| ptr_type.flags.size != .C and !ptr_type.flags.is_allowzero, | 1871 | .ptr_type => |ptr_type| ptr_type.flags.size != .C and !ptr_type.flags.is_allowzero, |
| 1872 | .error_set_type => true, | 1872 | .error_set_type, .inferred_error_set_type => true, |
| 1873 | else => false, | 1873 | else => false, |
| 1874 | }, | 1874 | }, |
| 1875 | .ptr_type => |ptr_type| ptr_type.flags.size == .C, | 1875 | .ptr_type => |ptr_type| ptr_type.flags.size == .C, |