aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index 5e6f032798..53aee5051a 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -4586,7 +4586,7 @@ pub const Type = extern union {
}
/// Asserts the type is an integer, enum, error set, or vector of one of them.
- pub fn intInfo(self: Type, target: Target) struct { signedness: std.builtin.Signedness, bits: u16 } {
+ pub fn intInfo(self: Type, target: Target) std.builtin.Type.Int {
var ty = self;
while (true) switch (ty.tag()) {
.int_unsigned => return .{