zig/test/cases/compile_errors
mlugg 8adabaa4ed Zcu: don't tell linkers about exports if there are compile errors
In the best case, this is redundant work, because we aren't actually
going to emit a working binary this update. In the worst case, it causes
bugs because the linker may not have *seen* the thing being exported due
to the compile errors.

Resolves: #24417
2025-08-15 20:00:30 +01:00
..
stage1/obj test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
zon compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@embedFile_with_empty_path.zig fix @embedFile("") not giving a proper error 2023-07-21 23:39:42 +02:00
@errorCast_with_bad_type.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
@import_zon_addr_slice.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_anon_inf.zig compiler: allow @import of ZON without a result type 2025-04-02 05:53:22 +01:00
@import_zon_anon_nan.zig compiler: allow @import of ZON without a result type 2025-04-02 05:53:22 +01:00
@import_zon_anon_neg_inf.zig compiler: allow @import of ZON without a result type 2025-04-02 05:53:22 +01:00
@import_zon_array_len.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_bad_type.zig test: Restore and fix deleted tests that relied on intern pool types (#24422) 2025-07-17 22:07:50 +00:00
@import_zon_comptime_inf.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_comptime_nan.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_comptime_neg_inf.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_doc_comment.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_double_negation_float.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_double_negation_int.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_enum_embedded_null.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_expected_void.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_invalid_character.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_invalid_number.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_invalid_string.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_leading_zero_in_integer.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_neg_char.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_neg_nan.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_negative_zero.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_number_fail_limits.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_oob_char_0.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_oob_char_1.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_oob_int_0.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_oob_int_1.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_oob_int_2.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_oob_int_3.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_opt_in_err.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_opt_in_err_struct.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_string_as_array.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_struct_dup_field.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_struct_wrong_comptime_field.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_syntax_error.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_tuple_wrong_comptime_field.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_type_decl.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_type_expr_array.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_type_expr_fn.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_type_expr_struct.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_type_expr_tuple.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_type_mismatch.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_unescaped_newline.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_unknown_ident.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_vec_too_few.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_vec_too_many.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_vec_wrong_type.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@import_zon_void.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00
@intCast_on_vec.zig test cases: @intCast on vector 2023-06-27 19:57:19 -04:00
@intFromPtr_with_bad_type.zig Sema: disallow @intFromPtr for comptime-only types 2023-10-17 20:05:55 +00:00
@memmove_type_mismatch.zig test: add tests for @memmove 2025-04-26 13:34:17 +10:00
@trap_comptime_call.zig Revert "Sema: forbid @breakpoint from being called at comptime" 2023-12-11 12:24:15 -07:00
access_inactive_union_field_comptime.zig compiler: move unions into InternPool 2023-08-22 13:54:14 -07:00
access_invalid_typeInfo_decl.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
access_non-existent_member_of_error_set.zig stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07:00
accessing_runtime_parameter_from_outer_function.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
accessing_runtime_paramter_outside_function_scope.zig test: check compile errors when compilation has no errors 2023-11-19 00:12:43 +02:00
add_assign_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
add_overflow_in_function_evaluation.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
add_sat_on_undefined_value.zig sema: fix safe integer arithmetic operations on undefined values 2024-01-16 16:27:31 -08:00
add_wrap_on_undefined_value.zig sema: fix safe integer arithmetic operations on undefined values 2024-01-16 16:27:31 -08:00
addition_with_non_numbers.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
address_of_number_literal.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
address_of_threadlocal_not_comptime_known.zig compiler: tlv pointers are not comptime-known 2025-05-27 19:23:11 +01:00
aggregate_too_large.zig sema: do checked cast when resolving aggregate size 2025-04-28 16:48:45 +01:00
align_n_expr_function_pointers_is_a_compile_error.zig Sema: improve compile error for bad function alignment 2022-07-21 13:55:29 -07:00
align_zero.zig remove usages of .alignment = 0 2025-08-01 14:57:16 -07:00
alignCast_expects_pointer_or_slice.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
alignment_of_enum_field_specified.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
alignOf_bad_type.zig Sema: validate @alignOf type 2022-09-20 00:50:13 +03:00
ambiguous_coercion_of_division_operands.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
ambiguous_decl_reference.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
and_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
any_typed_null_to_any_typed_optional.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
anytype_param_requires_comptime.zig test: Restore and fix deleted tests that relied on intern pool types (#24422) 2025-07-17 22:07:50 +00:00
arg_to_non_comptime_param_with_comptime_only_type_is_not_evaluated_at_comptime.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
array_access_of_non_array.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
array_access_of_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
array_access_of_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
array_access_with_non_integer_index.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
array_cat_invalid_elem.zig Sema: improve error location for array cat/mul 2023-11-30 13:15:40 +02:00
array_concatenation_with_wrong_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
array_in_c_exported_function.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
array_init_generic_fn_with_inferred_error_set.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
array_init_invalid_elem_count.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
array_init_not_supported_on_result_type.zig Sema: fix source location for untyped array init with result type 2023-11-08 06:56:52 +00:00
array_mult_with_number_type.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
as_many_ptr_undefined.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
asm_at_compile_time.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
asm_output_to_const.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
assign_inline_fn_to_non-comptime_var.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
assign_local_bad_coercion.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
assign_null_to_non-optional_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_through_constant_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_through_constant_slice.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_to_constant_destructure.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
assign_to_constant_field.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_to_constant_variable.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
assign_to_invalid_dereference.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
assign_too_big_number_to_u16.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
assign_unreachable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assigning_to_struct_or_union_fields_that_are_not_optionals_with_a_function_that_returns_an_optional.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
AstGen_comptime_known_struct_is_resolved_before_error.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
astgen_sema_errors_combined.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
atomic_orderings_of_atomicStore_Acquire_or_AcqRel.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
atomic_orderings_of_cmpxchg-failure_stricter_than_success.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
atomic_orderings_of_cmpxchg-success_Monotonic_or_stricter.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
atomicrmw_with_bool_op_not_.Xchg.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
atomicrmw_with_enum_op_not_.Xchg.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
atomicrmw_with_float_op_not_.Xchg_.Add_.Sub_.Max_or_.Min.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
atomics_with_invalid_type.zig Sema: catch error sets in atomic operations 2025-07-30 09:56:38 +01:00
attempt_to_cast_enum_literal_to_error.zig compiler: use @Type instead of @TypeOf to print enum literal type 2024-11-29 15:26:58 -05:00
attempt_to_close_over_comptime_variable_from_outer_scope.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempt_to_create_17_bit_float_type.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
attempt_to_negate_a_non-integer_non-float_or_non-vector_type.zig Sema: add source location to coerce result ptr, fix negation error 2022-06-30 09:57:38 +02:00
attempted_double_ampersand.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempted_double_pipe_on_boolean_values.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
attempted_implicit_cast_from_const_T_to_array_len_1_T.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
attempted_implicit_cast_from_const_T_to_sliceT.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
attempted_implicit_cast_from_T_to_long_array_ptr.zig Add error for bad cast from *T to *[n]T 2023-03-16 13:00:36 +02:00
attempted_implicit_cast_from_T_to_slice_const_T.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bad_alignCast_at_comptime.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bad_alignment_in_implicit_cast_from_array_pointer_to_slice.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
bad_alignment_type.zig Sema: compile error on reifying align(0) struct fields 2025-08-01 14:57:16 -07:00
bad_identifier_in_function_with_struct_defined_inside_function_which_references_local_const.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bad_import.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
bad_member_access_on_tuple.zig Sema: fix unwrapping null when reporting error on member access 2023-01-22 01:04:20 +02:00
bad_panic_call_signature.zig compiler: combine @intCast safety checks 2025-06-01 12:10:57 +01:00
bad_panic_generic_signature.zig compiler: combine @intCast safety checks 2025-06-01 12:10:57 +01:00
bad_usage_of_call.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
binary_not_on_number_literal.zig Sema: add missing error and test for bool not on vector of ints 2025-06-13 05:59:25 -04:00
binary_OR_operator_on_error_sets.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
bit_ptr_non_packed.zig compiler: rework comptime pointer representation and access 2024-04-17 13:41:25 +01:00
bit_shifting_only_works_on_integer_types.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bitCast_same_size_but_bit_count_mismatch.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
bitCast_to_enum_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bitcast_undef.zig compiler: un-implement #19634 2024-04-17 13:41:25 +01:00
bitCast_with_different_sizes_inside_an_expression.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
bitsize_of_packed_struct_checks_backing_int_ty.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
bogus_compile_var.zig Sema: fix wording in error message 2024-11-09 20:21:32 +00:00
bogus_method_call_on_slice.zig test: Restore and fix deleted tests that relied on intern pool types (#24422) 2025-07-17 22:07:50 +00:00
bool_not_on_vector_of_ints.zig Sema: add missing error and test for bool not on vector of ints 2025-06-13 05:59:25 -04:00
branch_in_comptime_only_scope_uses_condbr_inline.zig Sema: fix is_non_null_ptr handling for runtime-known pointers 2025-01-21 00:33:32 +00:00
branch_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
break_void_result_location.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
builtin_call_with_invalid_param.zig Module: implement span for .call_arg of a @call 2023-08-09 10:09:17 -04:00
builtin_extern_in_comptime_scope.zig compiler: tlv pointers are not comptime-known 2025-05-27 19:23:11 +01:00
C_pointer_pointing_to_non_C_ABI_compatible_type_or_has_align_attr.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
C_pointer_to_anyopaque.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
c_pointer_to_void.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
call_assigned_to_constant.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
call_from_double_ptr.zig fix: Add error notes for method calls on double pointers (#20686) 2024-07-21 00:03:23 -07:00
call_from_naked_func.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
call_optional_function.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
callconv_apcs_aapcs_aapcsvfp_on_unsupported_platform.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
callconv_from_global_variable.zig Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
callconv_interrupt_on_unsupported_platform.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
callconv_signal_on_unsupported_platform.zig Sema: add and improve some callconv compile errors 2024-10-19 19:46:07 +01:00
callconv_stdcall_fastcall_thiscall_on_unsupported_platform.zig Sema: add and improve some callconv compile errors 2024-10-19 19:46:07 +01:00
calling_function_with_naked_calling_convention.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
calling_var_args_extern_function_passing_array_instead_of_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
cannot_break_out_of_defer_expression.zig AstGen: add error for break/continue out of defer expression 2022-08-03 16:45:33 +03:00
cannot_continue_out_of_defer_expression.zig AstGen: add error for break/continue out of defer expression 2022-08-03 16:45:33 +03:00
capture_by_ref_discard.zig add error for discarding if/while pointer capture 2024-09-10 01:45:48 +03:00
capture_by_ref_if.zig AstGen: use correct token_src for switch, if and while exprs 2024-01-16 18:22:44 +02:00
capture_by_ref_if_err_switch.zig AstGen: use correct token_src for switch, if and while exprs 2024-01-16 18:22:44 +02:00
capture_by_ref_switch.zig AstGen: use correct token_src for switch, if and while exprs 2024-01-16 18:22:44 +02:00
capture_by_ref_while.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
cast_between_optional_T_where_T_is_not_a_pointer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
cast_enum_literal_to_enum_but_it_doesnt_match.zig compiler: implement decl literals 2024-09-01 17:34:07 +01:00
cast_error_union_of_global_error_set_to_error_union_of_smaller_error_set.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
cast_global_error_set_to_error_set.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
cast_negative_integer_literal_to_usize.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
cast_negative_value_to_unsigned_integer.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
cast_ptr_to_slice_of_larger.zig Sema: allow @ptrCast single-item pointer to slice 2025-05-19 19:26:12 +01:00
cast_unreachable.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
cast_without_result_type.zig compiler: implement destructuring syntax 2023-09-15 11:33:53 -07:00
cast_without_result_type_due_to_anyopaque_pointer.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
cast_without_result_type_due_to_generic_parameter.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
casting_bit_offset_pointer_to_regular_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
catch_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
chained_comparison_operators.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
cimport.zig Sema: pass c_import_buf to child block in more places 2022-11-26 18:05:27 +02:00
closure_get_depends_on_failed_decl.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
closure_get_in_param_ty_instantiate_incorrectly.zig Sema: add "parameter type declared here" note to type coercion 2022-12-03 00:48:04 +02:00
coerce_anon_struct.zig test: Restore and fix deleted tests that relied on intern pool types (#24422) 2025-07-17 22:07:50 +00:00
coerce_array_to_different_size.zig Sema: fix invalid coercion *[n:x]T -> *[m]T for n != m 2025-01-01 16:20:40 +00:00
coerce_empty_tuple_to_struct.zig Sema: remove legacy coercion 2025-02-26 00:17:09 +00:00
coercion_to_error_union.zig Sema: add error note for failed coercions to optional types and error unions 2024-07-16 16:42:13 +00:00
coercion_to_optional.zig Sema: add error note for failed coercions to optional types and error unions 2024-07-16 16:42:13 +00:00
colliding_invalid_top_level_functions.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
compare_optional_to_non_optional_with_incomparable_type.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
comparing_a_non-optional_pointer_against_null.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comparing_against_undefined_produces_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
comparison_operators_with_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
compile-time_division_by_zero.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
compile-time_remainder_division_by_zero.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
compile_error_in_struct_init_expression.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
compile_error_when_evaluating_return_type_of_inferred_error_set.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compile_log.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
compile_log_a_pointer_to_an_opaque_value.zig compiler: improve "... contains reference to comptime var" errors 2025-01-11 08:54:47 +00:00
compile_log_statement_inside_function_which_must_be_comptime_evaluated.zig stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07:00
compile_log_statement_warning_deduplication_in_generic_fn.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
compile_time_division_by_zero.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
compile_time_null_ptr_cast.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
compile_time_struct_field.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
compile_time_undef_ptr_cast.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
compileError_shows_traceback_of_references_that_caused_it.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
compileLog_of_tagged_enum_doesnt_crash_the_compiler.zig Zcu: key compile errors on AnalUnit where appropriate 2024-07-04 21:01:41 +01:00
complex_comptime_call_of_extern_function.zig Sema: explain why we tried to call an extern fn at comptime 2025-01-29 18:43:24 +00:00
comptime_arg_to_generic_fn_callee_error.zig compiler: implement decl literals 2024-09-01 17:34:07 +01:00
comptime_call_of_function_pointer.zig Sema: explain why we tried to call an extern fn at comptime 2025-01-29 18:43:24 +00:00
comptime_cast_enum_to_union_but_field_has_payload.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_catch.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_if_bool.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_if_error.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_if_optional.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_orelse.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_switch.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_while_bool.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_while_error.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_inside_runtime_while_optional.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_continue_to_outer_inline_loop.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_decl_name_conflict_resolved.zig Zcu: rename implicitly-named decls to avoid overriding by explicit decls 2024-03-14 07:40:05 +00:00
comptime_err_ret_trace.zig Sema: implement comptime error return traces 2024-01-22 18:08:56 -08:00
comptime_if_inside_runtime_for.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_implicit_cast_f64_to_f32.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
comptime_only_global_align_section_addrspace.zig compiler: disallow align etc annotations on comptime-only globals 2024-12-19 03:21:56 +00:00
comptime_param_coersion.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
comptime_slice-sentinel_does_not_match_memory_at_target_index_terminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_does_not_match_memory_at_target_index_unterminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_does_not_match_target-sentinel.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_is_out_of_bounds_terminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_is_out_of_bounds_unterminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice_of_an_undefined_slice.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_slice_of_undefined_pointer_non-zero_len.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comptime_store_in_comptime_switch_in_runtime_if.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
comptime_struct_field_no_init_value.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
comptime_try_non_error.zig Sema: add note suggesting dropping try on non error-unions 2025-07-31 16:55:17 +01:00
comptime_unreachable.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
comptime_var_referenced_at_runtime.zig test: add tests for @memmove 2025-04-26 13:34:17 +10:00
comptime_var_referenced_by_decl.zig compiler: improve "... contains reference to comptime var" errors 2025-01-11 08:54:47 +00:00
comptime_var_referenced_by_type.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
comptime_vector_overflow_shows_the_index.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
concat_of_empty_slice_len_increment_beyond_bounds.zig added compile_error test coverage for issue 17166 2025-02-21 07:00:37 +01:00
condition_comptime_reason_explained.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
const_is_a_statement_not_an_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
constant_inside_comptime_function_has_compile_error.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
container_init_with_non-type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
control_flow_uses_comptime_var_at_runtime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
decl_shadows_local.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
declaration_between_fields.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
declaration_with_same_name_as_primitive_must_use_special_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
deduplicate_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
deref_on_undefined_value.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
deref_slice_and_get_len_field.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
dereference_an_array.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
dereference_anyopaque.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
dereference_bad_pointer_via_array_mul.zig Type: struct {} does not have a well-defined layout 2025-01-14 20:27:49 +00:00
dereference_slice.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
dereference_unknown_length_pointer.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
dereferencing_invalid_payload_ptr_at_comptime.zig compiler: rework comptime pointer representation and access 2024-04-17 13:41:25 +01:00
destructure_error_union.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
direct_struct_loop.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
directly_embedding_opaque_type_in_struct_and_union.zig Sema: disallow casting to opaque 2024-07-15 10:58:33 +03:00
disallow_coercion_from_non-null-terminated_pointer_to_null-terminated_pointer.zig fix(fmt): pointer type syntax to index (take 2) (#20336) 2024-07-21 01:55:52 -07:00
discarded_array_bad_elem_type.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
discarding_error_value.zig Sema: improve error set/union discard/ignore errors 2024-05-14 01:13:49 +09:00
div_assign_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
div_overflow.zig Sema: detect division overflow 2022-11-04 23:13:29 +02:00
division_by_zero.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
double_pointer_to_anyopaque_pointer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
duplicate-unused_labels.zig AstGen: error on unused switch label 2024-09-01 18:31:01 +01:00
duplicate_boolean_switch_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
duplicate_enum_field.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
duplicate_error_in_switch.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
duplicate_error_value_in_error_set.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
duplicate_field_in_anonymous_struct_literal.zig AstGen: detect duplicate field names 2024-01-20 17:23:47 +00:00
duplicate_field_in_discarded_anon_init.zig AstGen: detect duplicate field names 2024-01-20 17:23:47 +00:00
duplicate_field_in_struct_value_expression.zig AstGen: detect duplicate field names 2024-01-20 17:23:47 +00:00
duplicate_struct_field.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
duplicate_union_field.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
embed_outside_package.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
embedFile_with_bogus_file.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
empty_char_lit.zig std.zig.tokenizer: simplify 2024-07-31 16:57:42 -07:00
empty_for_loop_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
empty_if_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
empty_switch_on_an_integer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
empty_while_loop_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
enum_backed_by_comptime_int_must_be_casted_from_comptime_value.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
enum_backed_by_comptime_int_must_be_comptime.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
enum_field_value_references_enum.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
enum_in_field_count_range_but_not_matching_tag.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
enum_value_already_taken.zig Zcu: rework source locations 2024-06-15 00:57:52 +01:00
enum_with_declarations_unavailable_for_reify_type.zig test: check compile errors when compilation has no errors 2023-11-19 00:12:43 +02:00
enumFromInt_on_non-exhaustive_enums_checks_int_in_range.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
error_in_call_builtin_args.zig update usages of @call 2022-12-13 13:14:20 +02:00
error_in_comptime_call_in_container_level_initializer.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
error_in_struct_initializer_doesnt_crash_the_compiler.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
error_in_typeof_param.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
error_not_handled_in_switch.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
error_note_for_function_parameter_incompatibility.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
error_set_cannot_capture_by_reference.zig AstGen: add error message for capture error by ref in switch on error 2024-01-16 05:55:26 +01:00
error_set_decl_literal.zig compiler: use @Type instead of @TypeOf to print enum literal type 2024-11-29 15:26:58 -05:00
error_set_display.zig fix: print error set members in a consistent order 2025-08-15 07:43:46 +01:00
error_set_membership.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
error_union_field_default_init.zig add tests for fixed stage1 bugs 2024-03-28 15:24:01 +02:00
error_union_operator_with_non_error_set_LHS.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
error_when_evaluating_return_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
errors_in_for_loop_bodies_are_propagated.zig stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
exact division failure.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
exceeded_maximum_bit_width_of_integer.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
expected_optional_type_got_container.zig Sema: add missing declared here note 2024-05-22 02:16:56 +09:00
expected_optional_type_in_for.zig test cases: expected optional type in for loop 2023-06-27 19:57:23 -04:00
explain_why_fn_is_called_at_comptime.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
explain_why_generic_fn_is_called_at_comptime.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
explicit_cast_float_literal_to_integer_when_there_is_a_fraction_component.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
explicit_error_set_cast_known_at_comptime_violates_error_sets.zig fix compile error tests with unstable error sets 2024-10-27 18:02:12 +01:00
explicitly_casting_non_tag_type_to_enum.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
export_function_with_comptime_parameter.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
export_generic_function.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
export_with_empty_name_string.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
exported_enum_without_explicit_integer_tag_type.zig lib,test,tools,doc: update usages of @export 2024-08-27 00:44:35 +01:00
exported_function_uses_invalid_type.zig Zcu: don't tell linkers about exports if there are compile errors 2025-08-15 20:00:30 +01:00
extern_function_pointer_mismatch.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
extern_function_with_comptime_parameter.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
extern_function_with_unspecified_calling_convention.zig categorize behavior/bugs/<issueno>.zig tests 2024-01-06 16:49:41 -08:00
extern_packed_on_opaque.zig AstGen: make layout specifiers on opaque containers a compile error 2025-02-22 17:21:34 -05:00
extern_struct_with_extern-compatible_but_inferred_integer_tag_type.zig Allow zero-sized fields in extern structs (#16404) 2023-07-29 12:45:01 -04:00
extern_struct_with_non-extern-compatible_integer_tag_type.zig Allow zero-sized fields in extern structs (#16404) 2023-07-29 12:45:01 -04:00
extern_union_field_missing_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
extern_union_given_enum_tag_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
extern_variable_has_no_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
extern_variable_has_non_extern_type.zig Allow zero-sized fields in extern structs (#16404) 2023-07-29 12:45:01 -04:00
extra_comma_in_destructure.zig compiler: implement destructuring syntax 2023-09-15 11:33:53 -07:00
field_access_of_opaque_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
field_access_of_slices.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
field_access_of_unknown_length_pointer.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
field_access_of_wrapped_type.zig Sema: improve error message of field access of wrapped type 2023-03-21 00:34:12 +02:00
field_decl_name_conflict.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
field_type_supplied_in_an_enum.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
fieldParentPtr-bad_field_name.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
fieldParentPtr-comptime_field_ptr_not_based_on_struct.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
fieldParentPtr-comptime_wrong_field_index.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
fieldParentPtr-field_pointer_is_not_pointer.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
fieldParentPtr-non_pointer.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
fieldParentPtr_on_comptime_field.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
file_level_struct_invalid_field_type.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
file_level_tuple.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
file_level_tuple_with_decls.zig AstGen: improve 'file cannot be a tuple' source location 2025-02-25 22:28:47 +00:00
float exact division failure.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
for.zig Zir: split up start and end of range in for_len 2025-01-03 22:28:37 +00:00
for_comptime_array_pointer.zig Sema: add missing validateRuntimeValue calls 2025-02-06 01:11:10 +00:00
for_discard_unbounded.zig AstGen: add error for discard of unbounded counter 2023-02-18 19:17:21 -07:00
for_empty.zig AstGen: add error for discard of unbounded counter 2023-02-18 19:17:21 -07:00
for_extra_capture.zig drop for loop syntax upgrade mechanisms 2023-10-13 03:43:54 -07:00
for_extra_condition.zig AstGen: add error for discard of unbounded counter 2023-02-18 19:17:21 -07:00
for_invalid_ranges.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
for_loop_body_expression_ignored.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
for_loop_break_value_ignored.zig fix broken test cases exposed by ec445fb6b8 2023-03-21 20:57:14 +02:00
for_loop_error_union.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
for_unbounded.zig implement error for unbounded for loops 2023-02-18 19:20:19 -07:00
function-only_builtins_outside_function.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
function_alignment_non_power_of_2.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
function_alignment_on_unsupported_target.zig remove spirv cpu arch 2025-06-23 06:03:03 +02:00
function_call_assigned_to_incorrect_type.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
function_parameter_is_opaque.zig Type: remove arbitrary restrictions on param and return types 2023-06-20 21:51:01 -07:00
function_prototype_with_no_body.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
function_ptr_alignment.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
function_returning_opaque_type.zig Type: remove arbitrary restrictions on param and return types 2023-06-20 21:51:01 -07:00
function_type_coercion.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
function_type_named.zig AstGen: add error for named function type 2022-08-28 15:41:21 +03:00
function_with_invalid_return_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
function_with_non-extern_non-packed_enum_parameter.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
function_with_non-extern_non-packed_struct_parameter.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
function_with_non-extern_non-packed_union_parameter.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
generic_function_call_assigned_to_incorrect_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
generic_function_instance_with_non-constant_expression.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
generic_function_instantiation_inherits_parent_branch_quota.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
generic_instantiation_failure.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
generic_instantiation_failure_in_generic_function_return_type.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
generic_method_call_with_invalid_param.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
global_var_struct_init_in_comptime_block.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
global_variable_alignment_non_power_of_2.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
global_variable_initializer_must_be_constant_expression.zig Sema: explain why we tried to call an extern fn at comptime 2025-01-29 18:43:24 +00:00
global_variable_stored_in_global_const.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
hasDecl_with_non-container.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
helpful_return_type_error_message.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
if_condition_is_bool_not_int.zig Sema: add missing coercion to bool for condbr_inline 2024-10-28 02:24:59 +00:00
ignored_assert-err-ok_return_value.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
ignored_comptime_statement_value.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
ignored_comptime_value.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
ignored_deferred_function_call.zig Sema: improve error set/union discard/ignore errors 2024-05-14 01:13:49 +09:00
ignored_deferred_statement_value.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
ignored_expression_in_while_continuation.zig Sema: improve error set/union discard/ignore errors 2024-05-14 01:13:49 +09:00
ignored_return_value.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
ignored_statement_value.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
illegal_comparison_of_types.zig Sema: add declared here notes in fail 2024-02-12 12:54:32 -08:00
illegal_operation_on_logical_ptr.zig Sema: error on illegal code when targeting spirv 2025-03-17 21:56:14 +03:30
implicit_array_ptr_cast_sentinel_mismatch.zig Sema: correct sentinel check on implicit cast from array ptr 2022-09-23 17:39:06 +03:00
implicit_cast_between_C_pointer_and_Zig_pointer-bad_const-align-child.zig Sema: disallow unsafe in-memory coercions 2024-12-16 14:53:54 +00:00
implicit_cast_const_array_to_mutable_slice.zig cases: more test coverage 2022-12-21 23:34:29 +01:00
implicit_cast_from_array_to_mutable_slice.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
implicit_cast_from_f64_to_f32.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
implicit_cast_of_error_set_not_a_subset.zig Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
implicit_cast_to_c_ptr_from_int.zig Sema: prefer original error message in coerce 2022-07-10 23:47:56 +03:00
implicit_casting_C_pointers_which_would_mess_up_null_semantics.zig Sema: disallow unsafe in-memory coercions 2024-12-16 14:53:54 +00:00
implicit_casting_null_c_pointer_to_zig_pointer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
implicit_dependency_on_libc.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
implicit_semicolon-block_expr.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-block_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-comptime_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-comptime_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-defer.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-for_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-for_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if-else_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if-else_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-test_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-test_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while-continue_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while-continue_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicitly_casting_enum_to_tag_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
implicitly_increasing_pointer_alignment.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
implicitly_increasing_slice_alignment.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
import_of_missing_module.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
import_outside_module_path.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
incompatible sub-byte fields.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
incompatible_sentinels.zig fix(fmt): pointer type syntax to index (take 2) (#20336) 2024-07-21 01:55:52 -07:00
incorrect_pointer_dereference_syntax.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
incorrect_return_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
incorrect_type_to_memset_memcpy.zig make @memcpy and @memmove share panic handlers 2025-04-27 23:30:00 -07:00
increase_pointer_alignment_in_ptrCast.zig AstGen: use RLS to infer the first argument of @fieldParentPtr 2024-03-30 20:50:48 -04:00
indexing_a_undefined_slice_at_comptime.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
indexing_an_array_of_size_zero.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
indexing_an_array_of_size_zero_with_runtime_index.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
indexing_non-tuple_struct.zig Sema: fix and improve errors for for loop objects and non-indexables 2023-05-06 09:32:34 +02:00
indexing_single-item_pointer.zig Sema: fix and improve errors for for loop objects and non-indexables 2023-05-06 09:32:34 +02:00
indirect_struct_loop.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
inferred_array_size_invalid_here.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
initializing_array_with_struct_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
inline_call_runtime_value_to_comptime_param.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
inline_underscore_prong.zig AstGen: analyze inline switch cases 2022-09-27 18:05:08 +03:00
instantiating_an_undefined_value_for_an_invalid_struct_that_contains_itself.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
instantiating_an_undefined_value_for_an_invalid_union_that_contains_itself.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
int-float_conversion_to_comptime_int-float.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
int_from_enum_undefined.zig Sema: add declared here notes in fail 2024-02-12 12:54:32 -08:00
int_from_ptr_to_optional.zig Sema: simplify comptime @intFromPtr logic 2025-05-27 02:40:58 +01:00
int_to_err_global_invalid_number.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
int_to_err_non_global_invalid_number.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
int_to_float_coercion_loses_precision.zig Sema: compile error on lossy int to float coercion 2025-07-31 10:57:04 +01:00
integer_cast_truncates_bits.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
integer_overflow_error.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
integer_underflow_error.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
intFromFloat_comptime_safety.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
intFromPtr_0_to_non_optional_pointer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
invalid_address_space_coercion.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
invalid_array_assignment_with_valid_elems.zig fix: remove misleading error note for failed array coercions 2024-07-21 00:10:36 -07:00
invalid_array_elem_ty.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
invalid_array_elem_type.zig Sema: validate array element types 2023-04-05 14:45:56 +03:00
invalid_assignments.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_bit_pointer.zig Sema: rework @fieldParentPtr to accept a pointer type 2024-03-30 20:50:48 -04:00
invalid_branch_hint.zig behavior,cases: add @branchHint test coverage 2024-08-27 00:44:35 +01:00
invalid_break_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_builtin_fn.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_capture_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_cast_from_integral_type_to_enum.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
invalid_coercion_in_aggregate_literal.zig AstGen: fix src loc for invalid coercions in tuple literals 2023-08-12 01:57:11 -04:00
invalid_coercion_in_labeled_break.zig AstGen: fix src loc for invalid coercion in breaks 2023-08-12 01:57:15 -04:00
invalid_compare_string.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
invalid_comparison_for_function_pointers.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
invalid_comptime_fields.zig AstGen: make comptime fields in packed and extern structs compile errors 2022-07-23 15:40:12 +03:00
invalid_continue_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_decltest.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
invalid_dependency_on_struct_size.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
invalid_deref_on_switch_target.zig Sema: add declared here notes in fail 2024-02-12 12:54:32 -08:00
invalid_destructure_astgen.zig compiler: implement destructuring syntax 2023-09-15 11:33:53 -07:00
invalid_destructure_error_union.zig fix: Only suggest try on destructure of error union if payload type can be destructured (#21510) 2025-01-26 19:38:07 +01:00
invalid_destructure_sema.zig compiler: implement destructuring syntax 2023-09-15 11:33:53 -07:00
invalid_duplicate_test_decl_name.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
invalid_empty_unicode_escape.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_error_capture_discard.zig AstGen: fix analysis when encountering discard of error capture 2024-12-11 18:51:10 -05:00
invalid_error_union_payload_type.zig Sema: validate inferred error set payload type 2023-02-11 14:36:54 +02:00
invalid_exponent_in_float_literal-1.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_exponent_in_float_literal-2.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_extern_function_call.zig Sema: explain why we tried to call an extern fn at comptime 2025-01-29 18:43:24 +00:00
invalid_field_access_in_comptime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_field_in_struct_value_expression.zig Sema: fix bad error location on field init with field access 2023-11-21 13:59:14 +02:00
invalid_field_type_usage.zig compiler: implement @FieldType 2024-10-18 08:50:40 +01:00
invalid_float_casts.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
invalid_float_literal.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_func_for_callconv.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
invalid_function_types.zig AstGen: disallow alignment on function types 2024-03-17 03:06:17 +01:00
invalid_identifiers.zig AstGen: disable null bytes and empty stings in some places 2022-07-26 12:14:59 +03:00
invalid_if_expr_result_location_coercion.zig AstGen: fix src loc for invalid if expression rls coercions 2023-08-12 01:57:07 -04:00
invalid_inline_else_type.zig Sema: add declared here notes in fail 2024-02-12 12:54:32 -08:00
invalid_int_casts.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
invalid_legacy_unicode_escape.zig std.zig.tokenizer: simplify 2024-07-31 16:57:42 -07:00
invalid_member_of_builtin_enum.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
invalid_multiple_dereferences.zig Sema: add declared here notes in fail 2024-02-12 12:54:32 -08:00
invalid_non-exhaustive_enum_to_union.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
invalid_number_literals.zig Make 0e.0 and 0xp0 not crash 2024-07-03 02:53:37 -04:00
invalid_optional_payload_type.zig Sema: make optional noreturn behave correctly 2022-08-17 20:10:18 +03:00
invalid_optional_type_in_extern_struct.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_peer_type_resolution.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
invalid_pointer_arithmetic.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
invalid_pointer_cast.zig Sema: fix UB in error reporting 2025-01-14 21:17:46 +00:00
invalid_pointer_coercions.zig fix: print error set members in a consistent order 2025-08-15 07:43:46 +01:00
invalid_pointer_for_var_type.zig Sema: explain why we tried to call an extern fn at comptime 2025-01-29 18:43:24 +00:00
invalid_pointer_keeps_address_space_when_taking_address_of_dereference.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
invalid_pointer_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_pointer_with_reify_type.zig all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
invalid_shift_amount_error.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_store_to_comptime_field.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
invalid_struct_field.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
invalid_switch_expr_result_location_coercion.zig AstGen: fix src loc for invalid switch expression rls coercions 2023-08-12 02:22:26 -04:00
invalid_switch_item.zig Zcu: fix switch prong source location resolution 2025-01-22 04:11:02 +00:00
invalid_tag_capture.zig add inline switch union tag captures 2022-09-27 18:33:23 +03:00
invalid_tail_call.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
invalid_tuple_to_struct_coercion.zig test: remove dependencies on legacy coercion 2025-02-26 00:17:09 +00:00
invalid_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_type_in_builtin_extern.zig Sema: fix @extern error on function pointer 2023-10-16 01:30:39 +00:00
invalid_type_used_in_array_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-1.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-2.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-3.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-4.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-5.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-6.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-7.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-9.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-10.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-11.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-12.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-13.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-14.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-1.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
invalid_underscore_placement_in_int_literal-2.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-3.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-4.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_unicode_escape.zig std.zig.tokenizer: simplify 2024-07-31 16:57:42 -07:00
invalid_variadic_function.zig Sema: make source location in checkCallConvSupportsVarArgs more meaningful 2025-02-17 05:28:11 +01:00
issue_2032_compile_diagnostic_string_for_top_level_decl_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
issue_3818_bitcast_from_parray-slice_to_u16.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
issue_4207_coerce_from_non-terminated-slice_to_terminated-pointer.zig fix(fmt): pointer type syntax to index (take 2) (#20336) 2024-07-21 01:55:52 -07:00
issue_5221_invalid_struct_init_type_referenced_by_typeInfo_and_passed_into_function.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
Issue_5586_Make_unary_minus_for_unsigned_types_a_compile_error.zig std.meta: remove Vector (deprecated in 0.10) 2023-06-13 23:45:08 +06:00
issue_5618_coercion_of_optional_anyopaque_to_anyopaque_must_fail.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
Issue_6823_dont_allow_._to_be_followed_by_.zig make error messages prettier 2025-05-15 16:39:15 +01:00
issue_7810-comptime_slice-len_increment_beyond_bounds.zig compiler: rework comptime pointer representation and access 2024-04-17 13:41:25 +01:00
issue_9346_return_outside_of_function_scope.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
issue_15572_break_on_inline_while.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
labeled_block_implicit_value.zig AstGen: add missing rvalue call to labeledBlockExpr 2024-11-12 14:51:10 +00:00
labeled_break_not_found.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
labeled_continue_not_found.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
lazy_pointer_with_undefined_element_type.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
leading_zero_in_integer.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
len_access_on_array_many_ptr.zig Sema: allow ptr field access on pointer-to-array 2023-04-20 09:05:22 -07:00
load_too_many_bytes_from_comptime_reinterpreted_pointer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
load_vector_pointer_with_unknown_runtime_index.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
local_shadows_global_that_occurs_later.zig AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03:00
local_variable_redeclaration.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
local_variable_redeclares_parameter.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
local_variable_shadowing_global.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
locally_shadowing_a_primitive_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
main_function_with_bogus_args_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
main_missing_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
member_function_arg_mismatch.zig Zir: eliminate field_call_bind and field_call_bind_named 2023-05-20 12:27:48 -07:00
memcpy_alias.zig Sema: @memcpy changes 2025-01-29 06:35:22 +00:00
memcpy_bad_type.zig Sema: @memcpy changes 2025-01-29 06:35:22 +00:00
memset_no_length.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
method_call_on_error_union.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
method_call_with_first_arg_type_primitive.zig Sema: improve error message when calling non-member function as method 2023-03-12 18:47:02 +02:00
method_call_with_first_arg_type_wrong_container.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
minmax_missing_args.zig fix: print correct number of provided arguments in min/max error message 2024-10-03 12:28:44 +03:00
minmax_nonnumeric_operand.zig Sema: check min/max operand types 2025-07-30 20:48:38 +00:00
missing_boolean_switch_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_builtin_arg_in_initializer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
missing_const_in_slice_with_nested_array_type.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
missing_digit_after_base.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
missing_else_clause.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
missing_field_in_struct_value_expression.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
missing_function_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_function_proto_name.zig AstGen: fix error on missing function prototype name 2023-09-05 20:00:19 +03:00
missing_main_fn_in_executable.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
missing_param_name.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
missing_parameter_name.zig make error messages prettier 2025-05-15 16:39:15 +01:00
missing_parameter_name_of_generic_function.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
missing_result_type_for_phi_node.zig Improve error messages for break type coercion 2023-03-21 15:09:42 +02:00
missing_struct_field_in_fn_called_at_comptime.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
misspelled_type_with_pointer_only_reference.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
mod_assign_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
mod_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
mul_overflow_in_function_evaluation.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
muladd_int_vector.zig Add a compiler error for @mulAdd with int vectors. 2023-06-13 10:45:57 -07:00
mult_assign_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
multiple_function_definitions.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
negate_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
negation_overflow_in_function_evaluation.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
negative_zero_literal.zig AstGen: disallow '-0' integer literal 2023-08-21 11:47:31 +03:00
nested_error_set_mismatch.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
nested_generic_function_param_type_mismatch.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
nested_ptr_cast_bad_operand.zig zig fmt: apply new cast builtin order 2025-08-03 14:59:56 +02:00
nested_vectors.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
never_inline_call_of_inline_fn_with_comptime_param.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
no_else_prong_on_switch_on_global_error_set.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
noalias_on_non_pointer_param.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
noalias_param_coersion.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
noinline_fn_cc_inline.zig Sema: add and improve some callconv compile errors 2024-10-19 19:46:07 +01:00
non-comptime-parameter-used-as-array-size.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
non-const_expression_function_call_with_struct_return_value_outside_function.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
non-const_expression_in_struct_literal_outside_function.zig Sema: explain why we tried to call an extern fn at comptime 2025-01-29 18:43:24 +00:00
non-const_switch_number_literal.zig fix(text): hyphenation and other fixes 2022-10-05 21:19:10 +02:00
non-const_variables_of_things_that_require_const_variables.zig Sema: add declared here notes in fail 2024-02-12 12:54:32 -08:00
non-enum_tag_type_passed_to_union.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
non-exhaustive_enum_field_non_final.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-exhaustive_enum_marker_assigned_a_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
non-exhaustive_enum_specifies_every_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-extern_function_with_var_args.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-inline_for_loop_on_a_type_that_requires_comptime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
non-integer_tag_type_to_automatic_union_enum.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
non-integer_tag_type_to_enum.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
non-pure_function_returns_type.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
non_comptime_param_in_comptime_function.zig Sema: rewrite semantic analysis of function calls 2025-01-09 06:46:47 +00:00
non_constant_expression_in_array_size.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
non_error_sets_used_in_merge_error_sets_operator.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
non_float_passed_to_intFromFloat.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
non_int_passed_to_floatFromInt.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
non_pointer_given_to_intFromPtr.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
non_scalar_sentinel.zig all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
non_void_error_union_payload_ignored.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
noreturn_builtins_divert_control_flow.zig compiler: allow files with AstGen errors to undergo semantic analysis 2024-12-05 19:58:38 +00:00
noreturn_struct_field.zig Sema: improve struct/union field error locations 2023-01-05 13:11:36 +02:00
normal_string_with_newline.zig AstGen: improve error for invalid bytes in strings and comments 2025-02-05 11:10:11 +02:00
not_an_enum_type.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
number_literal_bad_exponent.zig Fix parsing of hexadecimal literals 2023-05-07 08:05:53 +00:00
offsetOf-bad_field_name.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
offsetOf-non_struct.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
old_fn_ptr_in_extern_context.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
only_equality_binary_operator_allowed_for_error_sets.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
only_untyped_undef_coerces_to_all_types.zig Sema: only untyped undefined should coerce to all types 2023-01-05 14:26:53 +02:00
opaque_type_with_field.zig AstGen: add error for fields in opaque types 2022-07-21 12:21:30 -07:00
optional_empty_error_set.zig Sema: correct OPV for optional empty error set 2025-06-29 17:20:23 -07:00
or_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
orelse_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
out_of_bounds_index.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
out_of_int_range_comptime_float_passed_to_intFromFloat.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
overflow_arithmetic_on_vector_with_undefined_elems.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
overflow_in_enum_value_allocation.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
packed_struct_backing_int_wrong.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
packed_struct_comparison.zig implement packed struct equality (#21679) 2024-10-12 20:59:12 -07:00
packed_struct_with_fields_of_not_allowed_types.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
packed_union_alignment_override.zig disallow alignment on packed union fields 2025-08-02 09:51:26 -07:00
packed_union_given_enum_tag_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
packed_union_with_automatic_layout_field.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
panic_called_at_compile_time.zig Revert "Sema: forbid @breakpoint from being called at comptime" 2023-12-11 12:24:15 -07:00
panic_has_source_location.zig Sema: provide source location when analyzing panic handler 2023-08-14 11:43:21 -07:00
parameter_redeclaration.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
parameter_shadowing_global.zig AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03:00
pass_const_ptr_to_mutable_ptr_fn.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
passing_a_not-aligned-enough_pointer_to_cmpxchg.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
passing_an_under-aligned_function_pointer.zig AstGen: disallow alignment on function types 2024-03-17 03:06:17 +01:00
peer_cast_then_implicit_cast_const_pointer_to_mutable_C_pointer.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
pointer_arithmetic_on_pointer-to-array.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
pointer_attributes_checked_when_coercing_pointer_to_anon_literal.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
pointer_exceeds_containing_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
pointer_to_anyopaque_slice.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
pointer_to_noreturn.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
pointer_with_different_address_spaces.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
pointers_with_different_address_spaces.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
pointless discard.zig AstGen: make pointless discard error more strict 2022-11-11 17:59:53 +02:00
popCount-non-integer.zig stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
primitives_take_precedence_over_declarations.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
private_main_fn.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
ptr_coerced_to_slice.zig Sema: disallow C pointer to slice coercion 2023-08-21 11:31:22 -07:00
ptrCast_discards_const_qualifier.zig AstGen: use RLS to infer the first argument of @fieldParentPtr 2024-03-30 20:50:48 -04:00
ptrcast_to_non-pointer.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
ptrFromInt_non_ptr_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ptrFromInt_with_misaligned_address.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
range_operator_in_switch_used_on_error_set.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
reading_past_end_of_pointer_casted_array.zig compiler: rework comptime pointer representation and access 2024-04-17 13:41:25 +01:00
reassign_to_array_parameter.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
reassign_to_slice_parameter.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
reassign_to_struct_parameter.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
recursive_inline_fn.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
redefinition_of_enums.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
redefinition_of_global_variables.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
redefinition_of_struct.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
redundant_comptime_var.zig AstGen: add error for redundant comptime var in comptime scope (#18242) 2024-01-09 20:09:39 -05:00
redundant_in_comptime.zig AstGen: error for redundant @inComptime() 2024-06-19 03:43:13 +01:00
redundant_inline.zig AstGen: add error for using inline loops in comptime only scopes 2023-12-08 16:54:32 -08:00
redundant_ptr_cast.zig cases: add tests for errors introduced by cast builtin result type inference 2023-06-25 13:28:32 +01:00
redundant_try.zig Sema: add note suggesting dropping try on non error-unions 2025-07-31 16:55:17 +01:00
refer_to_the_type_of_a_generic_function.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
reference_to_const_data.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
referring_to_a_struct_that_is_invalid.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
regression_test_2980_base_type_u32_is_not_type_checked_properly_when_assigning_a_value_within_a_struct.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reified_enum_field_value_overflow.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_enum_with_duplicate_field.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_enum_with_duplicate_tag_value.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_struct.zig disallow alignment on packed union fields 2025-08-02 09:51:26 -07:00
reify_type.Fn_with_is_generic_true.zig Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
reify_type.Fn_with_is_var_args_true_and_non-C_callconv.zig Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
reify_type.Fn_with_return_type_null.zig Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
reify_type_for_exhaustive_enum_with_non-integer_tag_type.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_type_for_exhaustive_enum_with_undefined_tag_type.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
reify_type_for_tagged_extern_union.zig Sema: disallow tags on non-auto unions when reifying (#23488) 2025-07-30 18:18:49 +00:00
reify_type_for_tagged_packed_union.zig Sema: disallow tags on non-auto unions when reifying (#23488) 2025-07-30 18:18:49 +00:00
reify_type_for_tagged_union_with_extra_enum_field.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_type_for_tagged_union_with_extra_union_field.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_type_for_tagged_union_with_no_enum_fields.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_type_for_tagged_union_with_no_union_fields.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_type_for_union_with_opaque_field.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
reify_type_union_payload_is_undefined.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
reify_type_with_invalid_field_alignment.zig Sema: compile error on reifying align(0) struct fields 2025-08-01 14:57:16 -07:00
reify_type_with_Type.Int.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type_with_undefined.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
reify_typeOf_with_incompatible_arguments.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
reify_typeOf_with_no_arguments.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
reject_extern_function_definitions_with_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
reject_extern_variables_with_initializers.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
repeated_invalid_field_access_to_generic_function_returning_type_crashes_compiler_2655.zig tests: translate-c and run-translated-c to the test harness 2023-10-17 11:55:17 +03:00
resolve_inferred_error_set_of_generic_fn.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
result_location_incompatibility_mismatching_handle_is_ptr.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
result_location_incompatibility_mismatching_handle_is_ptr_generic_call.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
ret_coercion_error_in_generic_fn_called_from_non_fn_scope.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
return_from_defer_expression.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
return_from_naked_function.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
return_incompatible_generic_struct.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
return_invalid_type_from_test.zig tests: translate-c and run-translated-c to the test harness 2023-10-17 11:55:17 +03:00
return_undefined_from_noreturn.zig Sema: fail if analyzing return in noreturn-declared function before coercing undefined 2024-10-14 15:02:14 +03:00
runtime_@ptrFromInt_to_comptime_only_type.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
runtime_assignment_to_comptime_struct_type.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
runtime_assignment_to_comptime_union_type.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
runtime_cast_to_union_which_has_non-void_fields.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
runtime_condition_comptime_type_in_destructure.zig compiler: use @Type instead of @TypeOf to print enum literal type 2024-11-29 15:26:58 -05:00
runtime_condition_in_inline_loop.zig Sema: fix crash when inline loop condition is not comptime-known 2025-01-22 04:18:43 +00:00
runtime_index_into_comptime_only_many_ptr.zig Sema: fix a few indexing bugs 2025-04-28 19:43:58 +01:00
runtime_index_into_comptime_type_slice.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
runtime_indexing_comptime_array.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
runtime_operation_in_comptime_scope.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
runtime_store_to_comptime_field.zig Sema: fix pointers to comptime fields of comptime-known aggregate pointers 2025-04-28 01:14:22 +01:00
runtime_to_comptime_num.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
runtime_value_in_comptime_array.zig Sema: remove incorrect requireRuntimeBlock calls 2025-07-31 22:28:46 +01:00
runtime_value_in_comptime_scope.zig cases: add cases for runtime code in comptime scopes 2024-12-31 09:55:04 +00:00
runtime_value_in_comptime_struct.zig Sema: remove incorrect requireRuntimeBlock calls 2025-07-31 22:28:46 +01:00
runtime_value_in_switch_prong.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
saturating_arithmetic_does_not_allow_floats.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
saturating_shl_does_not_allow_negative_rhs.zig Sema: Improve comptime arithmetic undef handling 2025-08-12 16:33:57 +02:00
self_reference_missing_const.zig compiler: analyze type and value of global declaration separately 2024-12-24 02:18:41 +00:00
self_referential_struct_requires_comptime.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
self_referential_union_requires_comptime.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
sema_src_used_after_inline_call.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
setting_a_section_on_a_local_variable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
shift_amount_has_to_be_an_integer_type.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
shift_by_larger_than_usize.zig address most comments 2025-08-12 16:33:57 +02:00
shift_by_negative_comptime_integer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
shift_on_type_with_non-power-of-two_size.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
shifting_RHS_is_log2_of_LHS_int_bit_width.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
shifting_without_int_type_or_comptime_known.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
shl_exact_on_undefined_value.zig make >> a compile error with any undef arg ; add a bunch of test cases 2025-08-12 16:33:57 +02:00
shl_on_undefined_value.zig make >> a compile error with any undef arg ; add a bunch of test cases 2025-08-12 16:33:57 +02:00
shl_with_overflow_on_undefined_value.zig make >> a compile error with any undef arg ; add a bunch of test cases 2025-08-12 16:33:57 +02:00
shlExact_shifts_out_1_bits.zig address most comments 2025-08-12 16:33:57 +02:00
shr_exact_on_undefined_value.zig make >> a compile error with any undef arg ; add a bunch of test cases 2025-08-12 16:33:57 +02:00
shr_on_undefined_value.zig make >> a compile error with any undef arg ; add a bunch of test cases 2025-08-12 16:33:57 +02:00
shrExact_shifts_out_1_bits.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
shuffle_with_selected_index_past_first_vector_length.zig compiler: implement better shuffle AIR 2025-06-01 08:24:01 +01:00
signed_integer_division.zig Sema: add error for signed integer division 2022-08-12 11:45:11 +03:00
signed_integer_remainder_division.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
sizeOf_bad_type.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
slice_cannot_have_its_bytes_reinterpreted.zig compiler: rework comptime pointer representation and access 2024-04-17 13:41:25 +01:00
slice_cast_change_len.zig Sema: allow @ptrCast single-item pointer to slice 2025-05-19 19:26:12 +01:00
slice_end_index_undefined.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
slice_of_many-item_pointer_preserves_sentinel.zig Sema: disallow slicing many-item pointer with different sentinel 2025-07-31 12:02:19 +01:00
slice_of_non_array_type.zig Sema: fix crash on slice of non-array type 2022-08-24 21:31:02 +03:00
slice_of_null_pointer.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
slice_of_single-item_pointer_bounds.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
slice_passed_as_array_init_type.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
slice_passed_as_array_init_type_with_elems.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
slice_sentinel_mismatch-1.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
slice_sentinel_mismatch-2.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
slice_to_anyopaque_pointer.zig sema: add error for coercing a slice to an anyopaque pointer 2023-04-26 00:53:09 +03:00
slice_used_as_extern_fn_param.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
specify_enum_tag_type_that_is_too_small.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
specify_non-integer_enum_tag_type.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
spirv_merge_logical_pointers.zig rename spirv backend name 2025-06-16 13:22:19 +03:30
splat_bad_result_type.zig Sema: implement @splat for arrays 2024-10-10 11:22:49 +01:00
stack_usage_in_naked_function.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
std.fmt_error_for_unused_arguments.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
store_comptime_only_type_to_runtime_pointer.zig Sema: disallow runtime stores to pointers with comptime-only element types 2024-12-15 11:09:04 +00:00
store_to_comptime_var_through_call.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
store_vector_pointer_with_unknown_runtime_index.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
struct_depends_on_itself_via_non_initial_field.zig Sema: fix incorrectly succeeding type resolution 2025-02-05 18:31:39 +00:00
struct_depends_on_itself_via_optional_field.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
struct_depends_on_pointer_alignment.zig sema: analyze field init bodies in a second pass 2023-11-07 00:49:35 +00:00
struct_duplicate_field_name.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
struct_init_passed_to_type_param.zig Sema: add "parameter type declared here" note to type coercion 2022-12-03 00:48:04 +02:00
struct_init_syntax_for_array.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
struct_type_mismatch_in_arg.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
struct_type_returned_from_non-generic_function.zig compiler: rework type resolution, fully resolve all types 2024-07-04 21:01:42 +01:00
struct_with_declarations_unavailable_for_reify_type.zig test: check compile errors when compilation has no errors 2023-11-19 00:12:43 +02:00
struct_with_invalid_field.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
sub_assign_on_undefined_value.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
sub_overflow_in_function_evaluation.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
sub_sat_on_undefined_value.zig sema: fix safe integer arithmetic operations on undefined values 2024-01-16 16:27:31 -08:00
sub_wrap_on_undefined_value.zig sema: fix safe integer arithmetic operations on undefined values 2024-01-16 16:27:31 -08:00
switch_capture_incompatible_types.zig Preserve field alignment in union pointer captures 2024-02-08 23:49:03 +01:00
switch_expression-duplicate_enumeration_prong.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_enumeration_prong_when_else_present.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_error_prong.zig test: add tests for switch_block_err_union 2024-01-09 14:42:12 +11:00
switch_expression-duplicate_error_prong_when_else_present.zig test: add tests for switch_block_err_union 2024-01-09 14:42:12 +11:00
switch_expression-duplicate_or_overlapping_integer_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_type_struct_alias.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-missing_enumeration_prong.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-missing_error_prong.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
switch_expression-multiple_else_prongs.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
switch_expression-non_exhaustive_absorbing.zig address comments 2025-08-07 13:58:49 +02:00
switch_expression-non_exhaustive_inline.zig address comments 2025-08-07 13:58:49 +02:00
switch_expression-non_exhaustive_integer_prongs.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-non_exhaustive_unreachable_else.zig address comments 2025-08-07 13:58:49 +02:00
switch_expression-switch_on_pointer_type_with_no_else.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_bool.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_enum.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
switch_expression-unreachable_else_prong_error.zig test: add tests for switch_block_err_union 2024-01-09 14:42:12 +11:00
switch_expression-unreachable_else_prong_range_i8.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_range_u8.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_u1.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_u2.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_on_enum_with_1_field_with_no_prongs.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
switch_on_error_with_1_field_with_no_prongs.zig test: add tests for switch_block_err_union 2024-01-09 14:42:12 +11:00
switch_on_error_with_capture_by_reference.zig AstGen: add error message for capture error by ref in switch on error 2024-01-16 05:55:26 +01:00
switch_on_error_with_non_trivial_switch_operand.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
switch_on_non_err_union.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
switch_on_slice.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
switch_on_undefined_union.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
switch_on_union_with_no_attached_enum.zig Fix bad source locations in switch capture errors 2023-06-13 12:55:27 +01:00
switch_ranges_endpoints_are_validated.zig Zcu: rework source locations 2024-06-15 00:57:52 +01:00
switch_with_overlapping_case_ranges.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
switching_with_exhaustive_enum_has___prong_.zig Permit explicit tags with '_' switch prong 2025-08-07 13:57:57 +02:00
switching_with_non-exhaustive_enums.zig Add support for both '_' and 'else' prongs at the same time in switch statements 2025-08-07 13:58:47 +02:00
tab_inside_comment.zig AstGen: improve error for invalid bytes in strings and comments 2025-02-05 11:10:11 +02:00
tab_inside_doc_comment.zig AstGen: improve error for invalid bytes in strings and comments 2025-02-05 11:10:11 +02:00
tab_inside_multiline_string.zig AstGen: improve error for invalid bytes in strings and comments 2025-02-05 11:10:11 +02:00
tab_inside_string.zig AstGen: improve error for invalid bytes in strings and comments 2025-02-05 11:10:11 +02:00
tag_capture_on_non_inline_prong.zig add inline switch union tag captures 2022-09-27 18:33:23 +03:00
tagName_on_invalid_value_of_non-exhaustive_enum.zig compiler: split Decl into Nav and Cau 2024-08-11 07:29:41 +01:00
tagName_on_undef_enum_literal.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
tagName_used_on_union_with_no_associated_enum_tag.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
take_slice_of_invalid_dereference.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
threadlocal_qualifier_on_const.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
too_big_packed_struct.zig Sema: add error for too big packed struct 2022-10-27 01:31:18 +03:00
top_level_decl_dependency_loop.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
truncate_sign_mismatch.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
try_in_function_with_non_error_return_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
try_return.zig AstGen: use reachableExpr for try operand 2022-09-02 17:57:10 +03:00
tuple_declarations.zig AstGen: add note pointing to tuple field 2023-01-11 21:11:21 +02:00
tuple_init_edge_cases.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
tuple_ptr_to_mut_slice.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
type_checking_function_pointers.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
type_error_in_implicit_return.zig Sema: improve error for mismatched type in implicit return 2022-12-03 00:48:03 +02:00
type_error_union_field_type.zig add tests for fixed stage1 bugs 2024-03-28 15:24:01 +02:00
type_mismatch_in_C_prototype_with_varargs.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
type_mismatch_with_tuple_concatenation.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
type_variables_must_be_constant.zig Zir: refactor declaration instruction representation 2024-12-23 21:09:17 +00:00
unable_to_evaluate_comptime_expr.zig cases: update to new compile error wordings 2024-12-31 09:55:04 +00:00
unable_to_evaluate_expr_inside_cimport.zig Sema: rewrite comptime arithmetic 2025-03-16 08:17:50 +00:00
undeclared_identifier.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
undeclared_identifier_error_should_mark_fn_as_impure.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undeclared_identifier_in_unanalyzed_branch.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undef_arith_is_illegal.zig add undef shift tests ; mirror zirShl logic for @shlWithOverflow 2025-08-12 16:33:58 +02:00
undef_arith_returns_undef.zig add remaining undef value tests ; fix @truncate undef retval type 2025-08-12 16:33:58 +02:00
undef_shifts_are_illegal.zig add undef shift tests ; mirror zirShl logic for @shlWithOverflow 2025-08-12 16:33:58 +02:00
undefined_as_field_type_is_rejected.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
undefined_function_call.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undefined_value_call.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
underscore_is_not_a_declarable_symbol.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
underscore_should_not_be_usable_inside_for.zig update test-cases for new for loop syntax 2023-02-18 19:17:21 -07:00
underscore_should_not_be_usable_inside_while.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
underscore_should_not_be_usable_inside_while_else.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unhandled_enum_value_in_switch_with_enum_declared_in_other_file.zig Change math.Order order (#16356) 2023-07-09 01:22:52 -04:00
union_access_of_inactive_field.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
union_auto-enum_value_already_taken.zig Zcu: rework source locations 2024-06-15 00:57:52 +01:00
union_calling_inactive_field_as_fn.zig Check for inactive union field when calling fn at comptime 2024-02-26 16:55:17 -08:00
union_depends_on_pointer_alignment.zig Add compile error test case for union layout depending on pointer alignment 2023-10-31 01:35:58 +00:00
union_duplicate_enum_field.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
union_duplicate_field_definition.zig cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
union_enum_field_does_not_match_enum.zig Fix OOB when enum field out of order in different file 2024-02-03 19:52:05 +00:00
union_enum_field_missing.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
union_extra_field.zig Fix OOB when enum field out of order in different file 2024-02-03 19:52:05 +00:00
union_field_ordered_differently_than_enum.zig Sema: handle generated tag enums in union field order check 2025-03-08 14:29:20 -05:00
union_fields_are_resolved_before_tag_type_is_needed.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
union_init_with_non_type_as_first_param.zig Fixes wrong error location for unionInit when first parameter is not a type (#16384) 2023-07-11 23:35:50 -07:00
union_init_with_none_or_multiple_fields.zig compiler: preserve result type information through address-of operator 2023-09-23 22:01:08 +01:00
union_init_with_struct_as_first_param.zig Fixes crash when a struct is given as the first parameter to the unionInit builtin (#16385) 2023-07-11 23:37:42 -07:00
union_noreturn_field_initialized.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
union_runtime_coercion_from_enum.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
union_with_specified_enum_omits_field.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
union_with_too_small_explicit_signed_tag_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
union_with_too_small_explicit_unsigned_tag_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
unknown_length_pointer_to_opaque.zig stage2: better pointer source location 2022-07-21 12:21:30 -07:00
unreachable_code-double_break.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_code-nested_returns.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_code.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_else_prong_err_set.zig x86_64: implement error set and enum safety 2025-02-15 03:45:21 -05:00
unreachable_executed_at_comptime.zig cases: update to new "called from here" notes 2025-05-16 13:29:55 +01:00
unreachable_in_naked_func.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
unreachable_parameter.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
unreachable_variable.zig Sema: validate pointer types 2022-07-07 10:50:05 +03:00
unreachable_with_return.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
untagged_union_integer_conversion.zig Sema: fix use of Zcu.LazySrcLoc in error message 2024-12-08 17:23:57 +00:00
unused_value_in_switch_in_loop.zig Improve error messages for break type coercion 2023-03-21 15:09:42 +02:00
unused_variable_error_on_errdefer.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
use_anyopaque_as_return_type_of_fn_ptr.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
use_implicit_casts_to_assign_null_to_non-nullable_pointer.zig Sema: disallow unsafe in-memory coercions 2024-12-16 14:53:54 +00:00
use_invalid_number_literal_as_array_index.zig Zir: refactor declaration instruction representation 2024-12-23 21:09:17 +00:00
use_of_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
using_an_unknown_len_ptr_type_instead_of_array.zig fix(fmt): pointer type syntax to index (take 2) (#20336) 2024-07-21 01:55:52 -07:00
var_never_mutated.zig cases: add compile error test for never-mutated local variable 2023-11-19 11:11:50 +00:00
variable_has_wrong_type.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
variable_initialization_compile_error_then_referenced.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
variable_with_type_noreturn.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
variadic_arg_validation.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
vector_index_out_of_bounds.zig std.meta: remove Vector (deprecated in 0.10) 2023-06-13 23:45:08 +06:00
volatile_on_global_assembly.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
wasmMemoryGrow_is_a_compile_error_in_non-Wasm_targets.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
wasmMemorySize_is_a_compile_error_in_non-Wasm_targets.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
while_expected_bool_got_error_union.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_bool_got_optional.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_error_union_got_bool.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_error_union_got_optional.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_optional_got_bool.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_optional_got_error_union.zig Sema: add error note for !?Type types when optional type is expected 2024-05-14 01:13:49 +09:00
while_loop_body_expression_ignored.zig Sema error: talk about discarding instead of suppressing 2024-05-14 01:13:48 +09:00
while_loop_break_value_ignored.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
write_to_const_global_variable.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_function_type.zig write function types consistently with a space before fn keyword 2023-09-19 15:15:05 +03:00
wrong_initializer_for_union_payload_of_type_type.zig compiler: "illegal behavior", not "undefined behavior", in errors 2025-03-29 18:40:23 -04:00
wrong_number_of_arguments.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_number_of_arguments_for_method_fn_call.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_pointer_coerced_to_pointer_to_opaque_{}.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
wrong_size_to_an_array_literal.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_type_for_reify_type.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
wrong_type_passed_to_panic.zig test: update cases to silence 'var is never mutated' errors 2023-11-19 09:56:51 +00:00
wrong_type_to_hasField.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
wrong_types_given_to_atomic_order_args_in_cmpxchg.zig Sema: better error when coercing error sets 2022-07-26 23:29:54 +03:00
wrong_types_given_to_export.zig test: update for CallingConvention changes 2024-10-19 19:15:23 +01:00
zero-bit_generic_args_are_coerced_to_param_type.zig cases: modify error wording to match new errors 2023-08-10 10:00:37 +01:00
zero_width_nonexhaustive_enum.zig fix: error on non-exhaustive enums with zero width backing type (#21374) 2025-02-02 03:36:16 +00:00