aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2023-05-10 16:26:54 +0300
committerVeikka Tuominen <git@vexu.eu>2023-05-11 17:23:06 +0300
commitf0fdaf32d3b802e9db16a0753d9ff49a8667089b (patch)
tree5ff1ea4e3897869e3e01e8231acb393b83a7e591 /src/Module.zig
parent67afd2a470153681d3a2323ec388e3ecd545cef1 (diff)
downloadzig-f0fdaf32d3b802e9db16a0753d9ff49a8667089b.tar.gz
zig-f0fdaf32d3b802e9db16a0753d9ff49a8667089b.zip
fix incorrect use of mutable pointers to temporary values
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index b0c18def78..6d1a5acb09 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -6098,7 +6098,7 @@ pub const PeerTypeCandidateSrc = union(enum) {
none: void,
/// When we want to know the the src of candidate i, look up at
/// index i in this slice
- override: []?LazySrcLoc,
+ override: []const ?LazySrcLoc,
/// resolvePeerTypes originates from a @TypeOf(...) call
typeof_builtin_call_node_offset: i32,