aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Module.zig b/src/Module.zig
index afa29d65fd..54a3c86aed 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -798,8 +798,6 @@ pub const Var = struct {
pub const Scope = struct {
tag: Tag,
- pub const NameHash = [16]u8;
-
pub fn cast(base: *Scope, comptime T: type) ?*T {
if (base.tag != T.base_tag)
return null;
@@ -839,7 +837,6 @@ pub const Scope = struct {
.namespace => return @fieldParentPtr(Namespace, "base", base).file_scope.sub_file_path,
.file => return @fieldParentPtr(File, "base", base).sub_file_path,
.block => unreachable,
- .decl_ref => unreachable,
}
}
@@ -861,10 +858,6 @@ pub const Scope = struct {
/// Namespace owned by structs, enums, unions, and opaques for decls.
namespace,
block,
- /// Used for simple error reporting. Only contains a reference to a
- /// `Decl` for use with `srcDecl` and `ownerDecl`.
- /// Has no parents or children.
- decl_ref,
};
/// The container that structs, enums, unions, and opaques have.