aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/std/builtin.zig3
-rw-r--r--test/behavior/type_info.zig2
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
index ef93bb14ee..b449080e86 100644
--- a/lib/std/builtin.zig
+++ b/lib/std/builtin.zig
@@ -221,7 +221,6 @@ pub const SourceLocation = struct {
};
pub const TypeId = std.meta.Tag(Type);
-pub const TypeInfo = @compileError("deprecated; use Type");
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
@@ -388,8 +387,6 @@ pub const Type = union(enum) {
decls: []const Declaration,
};
- pub const FnArg = @compileError("deprecated; use Fn.Param");
-
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
pub const Fn = struct {
diff --git a/test/behavior/type_info.zig b/test/behavior/type_info.zig
index e8199913bc..2c32b70807 100644
--- a/test/behavior/type_info.zig
+++ b/test/behavior/type_info.zig
@@ -257,7 +257,7 @@ fn testUnion() !void {
try expect(typeinfo_info.Union.tag_type.? == TypeId);
try expect(typeinfo_info.Union.fields.len == 24);
try expect(typeinfo_info.Union.fields[4].type == @TypeOf(@typeInfo(u8).Int));
- try expect(typeinfo_info.Union.decls.len == 22);
+ try expect(typeinfo_info.Union.decls.len == 21);
const TestNoTagUnion = union {
Foo: void,