| ... | ... | @@ -1044,7 +1044,8 @@ pub const Struct = struct { |
| 1044 | 1044 | |
| 1045 | 1045 | .root => return queryFieldSrc(tree.*, query, file, tree.containerDeclRoot()), |
| 1046 | 1046 | |
| 1047 | | else => unreachable, |
| 1047 | // This struct was generated using @Type |
| 1048 | else => return s.srcLoc(mod), |
| 1048 | 1049 | } |
| 1049 | 1050 | } |
| 1050 | 1051 | |
| ... | ... | @@ -1270,7 +1271,8 @@ pub const Union = struct { |
| 1270 | 1271 | .tagged_union_enum_tag, |
| 1271 | 1272 | .tagged_union_enum_tag_trailing, |
| 1272 | 1273 | => return queryFieldSrc(tree.*, query, file, tree.taggedUnionEnumTag(node)), |
| 1273 | | else => unreachable, |
| 1274 | // This union was generated using @Type |
| 1275 | else => return u.srcLoc(mod), |
| 1274 | 1276 | } |
| 1275 | 1277 | } |
| 1276 | 1278 | |