0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/errors
…
History
..
@breakpoint_comptime_call
@embedFile_with_empty_path
@errorCast_with_bad_type
@import_zon_addr_slice
@import_zon_anon_inf
@import_zon_anon_nan
@import_zon_anon_neg_inf
@import_zon_array_len
@import_zon_bad_type
@import_zon_comptime_inf
@import_zon_comptime_nan
@import_zon_comptime_neg_inf
@import_zon_doc_comment
@import_zon_double_negation_float
@import_zon_double_negation_int
@import_zon_enum_embedded_null
@import_zon_expected_void
@import_zon_invalid_character
@import_zon_invalid_number
@import_zon_invalid_string
@import_zon_leading_zero_in_integer
@import_zon_neg_char
@import_zon_neg_nan
@import_zon_negative_zero
@import_zon_number_fail_limits
@import_zon_oob_char_0
@import_zon_oob_char_1
@import_zon_oob_int_0
@import_zon_oob_int_1
@import_zon_oob_int_2
@import_zon_oob_int_3
@import_zon_opt_in_err
@import_zon_opt_in_err_struct
@import_zon_string_as_array
@import_zon_struct_dup_field
@import_zon_struct_wrong_comptime_field
@import_zon_syntax_error
@import_zon_tuple_wrong_comptime_field
@import_zon_type_decl
@import_zon_type_expr_array
@import_zon_type_expr_fn
@import_zon_type_expr_struct
@import_zon_type_expr_tuple
@import_zon_type_mismatch
@import_zon_unescaped_newline
@import_zon_unknown_ident
@import_zon_vec_too_few
@import_zon_vec_too_many
@import_zon_vec_wrong_type
@import_zon_void
@intCast_on_vec
@memmove_type_mismatch
@trap_comptime_call
access_inactive_union_field_comptime
access_invalid_typeInfo_decl
access_non-existent_member_of_error_set
accessing_runtime_parameter_from_outer_function
accessing_runtime_paramter_outside_function_scope
add_assign_on_undefined_value
add_decls_around_bad_field_expr
add_large_int_and_float
add_overflow_in_function_evaluation
add_sat_on_undefined_value
add_wrap_on_undefined_value
addition_with_non_numbers
address_of_number_literal
address_of_threadlocal_not_comptime_known
aggregate_too_large
align_n_expr_function_pointers_is_a_compile_error
align_zero
alignCast_expects_pointer_or_slice
alignment_of_enum_field_specified
ambiguous_coercion_of_division_operands
ambiguous_decl_reference
ambiguous_reference
and_on_undefined_value
any_typed_null_to_any_typed_optional
anytype_param_requires_comptime
arg_to_non_comptime_param_with_comptime_only_type_is_not_evaluated_at_comptime
argument_causes_error
array_access_of_non_array
array_access_of_type
array_access_of_undeclared_identifier
array_access_with_non_integer_index
array_cat_invalid_elem
array_concatenation_with_wrong_type
array_in_c_exported_function
array_init_generic_fn_with_inferred_error_set
array_init_invalid_elem_count
array_init_not_supported_on_result_type
as_many_ptr_undefined
asm_at_compile_time
asm_output_to_const
asm_output_type_no_guaranteed_in_memory_layout
assign_local_bad_coercion
assign_null_to_non-optional_pointer
assign_through_constant_pointer
assign_through_constant_slice
assign_to_constant_destructure
assign_to_constant_field
assign_to_constant_variable
assign_to_invalid_dereference
assign_too_big_number_to_u16
assign_unreachable
assigning_to_struct_or_union_fields_that_are_not_optionals_with_a_function_that_returns_an_optional
astgen_assembly_errors
astgen_failure_in_file_struct
astgen_sema_errors_combined
atomic_orderings_of_atomicStore_Acquire_or_AcqRel
atomic_orderings_of_cmpxchg-failure_stricter_than_success
atomic_orderings_of_cmpxchg-success_Monotonic_or_stricter
atomicrmw_with_bool_op_not_.Xchg
atomicrmw_with_enum_op_not_.Xchg
atomicrmw_with_float_op_not_.Xchg_.Add_.Sub_.Max_or_.Min
atomics_with_invalid_type
attempt_to_cast_enum_literal_to_error
attempt_to_close_over_comptime_variable_from_outer_scope
attempt_to_negate_a_non-integer_non-float_or_non-vector_type
attempted_double_ampersand
attempted_double_pipe_on_boolean_values
attempted_implicit_cast_from_const_T_to_array_len_1_T
attempted_implicit_cast_from_const_T_to_sliceT
attempted_implicit_cast_from_T_to_long_array_ptr
attempted_implicit_cast_from_T_to_slice_const_T
backing_int_invalid_arg_type
bad_alignCast_at_comptime
bad_alignment_in_implicit_cast_from_array_pointer_to_slice
bad_alignment_type
bad_identifier_in_function_with_struct_defined_inside_function_which_references_local_const
bad_import
bad_inferred_variable_type
bad_member_access_on_tuple
bad_panic_call_signature
bad_panic_generic_signature
bad_usage_of_call
bad_void_initializer
binary_not_on_number_literal
binary_OR_operator_on_error_sets
bit_ptr_non_bitpack
bit_shifting_only_works_on_integer_types
bitCast_extern_struct
bitcast_invalid_types
bitCast_same_size_but_bit_count_mismatch
bitcast_to_enum_invalid_tag_value
bitcast_undef
bitCast_vector_of_pointer
bitCast_with_different_sizes_inside_an_expression
bitpack_struct_backing_int_wrong
bitpack_struct_comparison
bitpack_struct_uses_own_size
bitpack_struct_uses_own_typeinfo
bitpack_struct_with_fields_of_not_allowed_types
bitpack_union_alignment_override
bitpack_union_fields_mismatch
bitpack_union_with_fields_of_not_allowed_types
bitsize_of_bitpack_struct_checks_backing_int_ty
bogus_compile_var
bogus_method_call_on_slice
bool_not_on_vector_of_ints
branch_in_comptime_only_scope_uses_condbr_inline
branch_on_undefined_value
break_void_result_location
builtin_call_with_invalid_param
builtin_extern_in_comptime_scope
call_assigned_to_constant
call_from_double_ptr
call_from_naked_func
call_optional_function
call_runtime_known_inline_fn_ptr
callconv_apcs_aapcs_aapcsvfp_on_unsupported_platform
callconv_from_global_variable
callconv_interrupt_on_unsupported_platform
callconv_preserve_most_on_unsupported_platform
callconv_preserve_none_on_unsupported_platform
callconv_signal_on_unsupported_platform
callconv_spirv_invalid_options
callconv_spirv_on_unsupported_platform
callconv_stack_alignment_coerce
callconv_stdcall_fastcall_thiscall_on_unsupported_platform
calling_function_with_naked_calling_convention
calling_var_args_extern_function_passing_array_instead_of_pointer
cannot_break_out_of_defer_expression
cannot_continue_out_of_defer_expression
capture_by_ref_discard
capture_by_ref_if
capture_by_ref_if_err_switch
capture_by_ref_switch
capture_by_ref_while
cast_between_optional_T_where_T_is_not_a_pointer
cast_enum_literal_to_enum_but_it_doesnt_match
cast_error_union_of_global_error_set_to_error_union_of_smaller_error_set
cast_global_error_set_to_error_set
cast_negative_integer_literal_to_usize
cast_negative_value_to_unsigned_integer
cast_ptr_to_slice_of_larger
cast_unreachable
cast_without_result_type
cast_without_result_type_due_to_anyopaque_pointer
cast_without_result_type_due_to_generic_parameter
casting_bit_offset_pointer_to_regular_pointer
catch_on_undefined_value
chained_comparison_operators
change_bitpack_backing_int
change_container_kind
closure_get_depends_on_failed_decl
closure_get_in_param_ty_instantiate_incorrectly
coerce_anon_struct
coerce_array_to_different_size
coerce_empty_tuple_to_struct
coerce_large_int_to_float
coerce_pointers_with_uncoercable_child_pointers
coerce_tuple_incompatible_defaults
coercion_from_eu_or_optional_containing_or_to_comptime_int
coercion_from_vector_element_to_c_ptr
coercion_to_error_union
coercion_to_optional
colliding_invalid_top_level_functions
compare_optional_to_non_optional_with_incomparable_type
comparing_a_non-optional_pointer_against_null
comparing_against_undefined_produces_undefined_value
comparison_of_non-tagged_union_and_enum_literal
comparison_operators_with_undefined_value
compile-time_division_by_zero
compile-time_remainder_division_by_zero
compile_error
compile_error_in_backing_tag
compile_error_in_struct_init_expression
compile_error_then_log
compile_error_when_evaluating_return_type_of_inferred_error_set
compile_log
compile_log_a_pointer_to_an_opaque_value
compile_log_statement_inside_function_which_must_be_comptime_evaluated
compile_log_statement_warning_deduplication_in_generic_fn
compile_time_division_by_zero
compile_time_null_ptr_cast
compile_time_struct_field
compile_time_undef_ptr_cast
compileError_shows_traceback_of_references_that_caused_it
compileLog_of_tagged_enum_doesnt_crash_the_compiler
complex_comptime_call_of_extern_function
comptime_aggregate_print
comptime_arg_to_generic_fn_callee_error
comptime_call_of_function_pointer
comptime_cast_enum_to_union_but_field_has_payload
comptime_continue_inside_runtime_catch
comptime_continue_inside_runtime_if_bool
comptime_continue_inside_runtime_if_error
comptime_continue_inside_runtime_if_optional
comptime_continue_inside_runtime_orelse
comptime_continue_inside_runtime_switch
comptime_continue_inside_runtime_while_bool
comptime_continue_inside_runtime_while_error
comptime_continue_inside_runtime_while_optional
comptime_continue_to_outer_inline_loop
comptime_decl_name_conflict_resolved
comptime_err_ret_trace
comptime_if_inside_runtime_for
comptime_implicit_cast_f64_to_f32
comptime_only_global_align_section_addrspace
comptime_param_coersion
comptime_slice-sentinel_does_not_match_memory_at_target_index_terminated
comptime_slice-sentinel_does_not_match_memory_at_target_index_unterminated
comptime_slice-sentinel_does_not_match_target-sentinel
comptime_slice-sentinel_is_out_of_bounds_terminated
comptime_slice-sentinel_is_out_of_bounds_unterminated
comptime_slice_of_an_undefined_slice
comptime_slice_of_undefined_pointer_non-zero_len
comptime_store_in_comptime_switch_in_runtime_if
comptime_struct_field_no_init_value
comptime_try_non_error
comptime_unreachable
comptime_var_referenced_at_runtime
comptime_var_referenced_by_asm
comptime_var_referenced_by_decl
comptime_var_referenced_by_type
comptime_vector_overflow_shows_the_index
concat_of_empty_slice_len_increment_beyond_bounds
condition_comptime_reason_explained
const_is_a_statement_not_an_expression
constant_inside_comptime_function_has_compile_error
container_init_with_non-type
continue_loop_from_else_block
control_flow_uses_comptime_var_at_runtime
decl_shadows_local
declaration_between_fields
declaration_with_same_name_as_primitive_must_use_special_syntax
deduplicate_undeclared_identifier
default_value_references_comptime_var
delete_comptime_decls
deref_on_undefined_value
deref_ptr_to_comptime_only_type
deref_slice_and_get_len_field
deref_slice_with_undef_len
dereference_an_array
dereference_anyopaque
dereference_slice
dereference_unknown_length_pointer
dereferencing_invalid_payload_ptr_at_comptime
destructure_error_union
direct_struct_loop
directly_embedding_opaque_type_in_struct_and_union
directly_embedding_spirv_type_in_struct_and_union
disallow_coercion_from_non-null-terminated_pointer_to_null-terminated_pointer
discarded_array_bad_elem_type
discarding_error_value
div_assign_on_undefined_value
div_overflow
division_by_zero
double_pointer_to_anyopaque_pointer
doubled_grouped_expr_as_stmt
duplicate-unused_labels
duplicate_boolean_switch_value
duplicate_enum_field
duplicate_error_in_switch
duplicate_error_value_in_error_set
duplicate_field_in_anonymous_struct_literal
duplicate_field_in_discarded_anon_init
duplicate_field_in_struct_value_expression
duplicate_struct_field
duplicate_union_field
embed_outside_package
embedFile_with_bogus_file
empty_bitpack_union
empty_char_lit
empty_enum_from_backing_int
empty_extern_union
empty_for_loop_body
empty_if_body
empty_switch_on_an_integer
empty_while_loop_body
enum_backed_by_comptime_int
enum_field_value_references_enum
enum_field_value_references_nonexistent_circular
enum_in_field_count_range_but_not_matching_tag
enum_noreturn_backing_type
enum_uses_own_typeinfo
enum_value_already_taken
enumFromInt_on_non-exhaustive_enums_checks_int_in_range
error_in_call_builtin_args
error_in_comptime_call_in_container_level_initializer
error_in_nested_declaration
error_in_struct_initializer_doesnt_crash_the_compiler
error_in_typeof_param
error_not_handled_in_switch
error_note_for_function_parameter_incompatibility
error_set_decl_literal
error_set_display
error_set_membership
error_union_field_default_init
error_union_operator_with_non_error_set_LHS
error_union_variant_is_runtime_known
error_when_evaluating_return_type
errors_in_for_loop_bodies_are_propagated
exact_division_failure
exceeded_maximum_bit_width_of_integer
expected_optional_type_got_container
expected_optional_type_in_for
explain_why_fn_is_called_at_comptime
explain_why_generic_fn_is_called_at_comptime
explicit_cast_float_literal_to_integer_when_there_is_a_fraction_component
explicit_error_set_cast_known_at_comptime_violates_error_sets
explicitly_casting_non_tag_type_to_enum
export_function_with_comptime_parameter
export_generic_function
export_with_empty_name_string
exported_enum_without_explicit_integer_tag_type
exported_function_uses_invalid_type
extern_bitpack_on_opaque
extern_function_pointer_mismatch
extern_function_with_comptime_parameter
extern_function_with_unspecified_calling_convention
extern_spirv_decoration_validation
extern_struct_with_non-extern-compatible_integer_tag_type
extern_union_field_missing_type
extern_union_given_enum_tag_type
extern_variable_has_no_type
extern_variable_has_non_extern_type
extra_comma_in_destructure
field_access_of_opaque_type
field_access_of_slices
field_access_of_unknown_length_pointer
field_access_of_wrapped_type
field_decl_name_conflict
field_type_supplied_in_an_enum
fieldParentPtr-bad_field_name
fieldParentPtr-comptime_field_ptr_not_based_on_struct
fieldParentPtr-comptime_wrong_field_index
fieldParentPtr-field_pointer_is_not_pointer
fieldParentPtr-non_pointer
fieldParentPtr_on_comptime_field
file_in_multiple_modules
file_level_struct_invalid_field_type
file_level_tuple
file_level_tuple_with_decls
float_exact_division_failure
fn_body_in_struct_runtime_known
fn_type_returning_pointer_to_itself
for
for_comptime_array_pointer
for_discard_unbounded
for_empty
for_extra_capture
for_extra_condition
for_invalid_ranges
for_loop_body_expression_ignored
for_loop_break_value_ignored
for_loop_error_union
for_unbounded
from_backing_int_invalid_dest_type
from_backing_int_type_mismatch
from_backing_int_undef
function-only_builtins_outside_function
function_alignment_non_power_of_2
function_alignment_on_unsupported_target
function_call_assigned_to_incorrect_type
function_parameter_is_opaque
function_prototype_with_no_body
function_ptr_alignment
function_redeclaration
function_returning_opaque_type
function_type_coercion
function_type_named
function_with_invalid_return_type
function_with_non-extern_non-bitpack_enum_parameter
function_with_non-extern_non-bitpack_struct_parameter
function_with_non-extern_non-bitpack_union_parameter
generic_function_call_assigned_to_incorrect_type
generic_function_instance_with_non-constant_expression
generic_function_instantiation_inherits_parent_branch_quota
generic_function_returning_opaque_type
generic_instantiation_failure
generic_instantiation_failure_in_generic_function_return_type
generic_method_call_with_invalid_param
global_var_struct_init_in_comptime_block
global_variable_alignment_non_power_of_2
global_variable_initializer_must_be_constant_expression
global_variable_redeclaration
global_variable_stored_in_global_const
hasDecl_with_non-container
helpful_return_type_error_message
if_condition_is_bool_not_int
ignored_assert-err-ok_return_value
ignored_comptime_statement_value
ignored_comptime_value
ignored_deferred_function_call
ignored_deferred_statement_value
ignored_expression_in_while_continuation
ignored_return_value
ignored_statement_value
illegal_comparison_of_types
illegal_operation_on_logical_ptr
implicit_array_ptr_cast_sentinel_mismatch
implicit_backing_type_in_extern_context
implicit_cast_between_C_pointer_and_Zig_pointer-bad_const-align-child
implicit_cast_const_array_to_mutable_slice
implicit_cast_from_array_to_mutable_slice
implicit_cast_from_f64_to_f32
implicit_cast_of_error_set_not_a_subset
implicit_cast_to_c_ptr_from_int
implicit_casting_C_pointers_which_would_mess_up_null_semantics
implicit_casting_null_c_pointer_to_zig_pointer
implicit_dependency_on_libc
implicit_semicolon-block_expr
implicit_semicolon-block_statement
implicit_semicolon-comptime_expression
implicit_semicolon-comptime_statement
implicit_semicolon-defer
implicit_semicolon-for_expression
implicit_semicolon-for_statement
implicit_semicolon-if-else-if-else_expression
implicit_semicolon-if-else-if-else_statement
implicit_semicolon-if-else-if_expression
implicit_semicolon-if-else-if_statement
implicit_semicolon-if-else_expression
implicit_semicolon-if-else_statement
implicit_semicolon-if_expression
implicit_semicolon-if_statement
implicit_semicolon-test_expression
implicit_semicolon-test_statement
implicit_semicolon-while-continue_expression
implicit_semicolon-while-continue_statement
implicit_semicolon-while_expression
implicit_semicolon-while_statement
implicitly_casting_enum_to_tag_type
import_of_missing_module
import_outside_module_path
imported_generic_method_call_with_invalid_param
in_memory_coerce_vector_to_array
incompatible_sentinels
incompatible_sub-byte_fields
incorrect_pointer_dereference_syntax
incorrect_return_type
incorrect_type_to_memset_memcpy
increase_pointer_alignment_in_ptrCast
indexing_a_undefined_slice_at_comptime
indexing_an_array_of_size_zero
indexing_an_array_of_size_zero_with_runtime_index
indexing_non-tuple_struct
indexing_single-item_pointer
indirect_struct_loop
inferred_array_size_invalid_here
initialize_empty_union
initializing_array_with_struct_syntax
inline_call_runtime_value_to_comptime_param
inline_return
inline_underscore_prong
inner_func_accessing_outer_var
instantiate_empty_enum
instantiating_an_undefined_value_for_an_invalid_struct_that_contains_itself
instantiating_an_undefined_value_for_an_invalid_union_that_contains_itself
int-float_conversion_to_comptime_int-float
int_from_ptr_to_optional
int_to_err_global_invalid_number
int_to_err_non_global_invalid_number
int_to_float_coercion_loses_precision
integer_cast_truncates_bits
integer_overflow_error
integer_underflow_error
intFromFloat_comptime_safety
intFromPtr_0_to_non_optional_pointer
invalid_address_space_coercion
invalid_array_assignment_with_valid_elems
invalid_array_concatenation_peer_resolves_with_comptime_int
invalid_array_elem_ty
invalid_array_elem_type
invalid_assignments
invalid_bit_pointer
invalid_branch_hint
invalid_break_expression
invalid_builtin_fn
invalid_capture_type
invalid_cast_from_integral_type_to_enum
invalid_character
invalid_coercion_in_aggregate_literal
invalid_coercion_in_labeled_break
invalid_compare_string
invalid_comparison_for_function_pointers
invalid_comptime_fields
invalid_continue_expression
invalid_decltest
invalid_dependency_on_struct_size
invalid_deref_on_switch_target
invalid_destructure_astgen
invalid_destructure_error_union
invalid_destructure_sema
invalid_duplicate_test_decl_name
invalid_empty_unicode_escape
invalid_error_capture_discard
invalid_error_union_payload_type
invalid_exponent_in_float_literal
invalid_extern_function_call
invalid_field_access_in_comptime
invalid_field_in_struct_value_expression
invalid_field_type_usage
invalid_float_casts
invalid_float_literal
invalid_func_for_callconv
invalid_function_types
invalid_identifiers
invalid_if_expr_result_location_coercion
invalid_inline_else_type
invalid_int_casts
invalid_legacy_unicode_escape
invalid_member_of_builtin_enum
invalid_multiple_dereferences
invalid_non-exhaustive_enum_to_union
invalid_number_literals
invalid_optional_payload_type
invalid_optional_type_in_extern_struct
invalid_peer_type_resolution
invalid_pointer_arithmetic
invalid_pointer_cast
invalid_pointer_coercions
invalid_pointer_for_var_type
invalid_pointer_keeps_address_space_when_taking_address_of_dereference
invalid_pointer_syntax
invalid_pointer_to_opaque
invalid_pointer_with_reify_type
invalid_shift_amount_error
invalid_store_to_comptime_field
invalid_struct_field
invalid_switch_expr_result_location_coercion
invalid_switch_item
invalid_tag_capture
invalid_tail_call
invalid_tuple_to_struct_coercion
invalid_type
invalid_type_in_builtin_extern
invalid_type_used_in_array_type
invalid_underscore_placement_in_float_literal
invalid_underscore_placement_in_int_literal
invalid_unicode_escape
invalid_variadic_function
issue_2032_compile_diagnostic_string_for_top_level_decl_type
issue_3818_bitcast_from_parray-slice_to_u16
issue_4207_coerce_from_non-terminated-slice_to_terminated-pointer
issue_5221_invalid_struct_init_type_referenced_by_typeInfo_and_passed_into_function
Issue_5586_Make_unary_minus_for_unsigned_types_a_compile_error
issue_5618_coercion_of_optional_anyopaque_to_anyopaque_must_fail
issue_7810-comptime_slice-len_increment_beyond_bounds
issue_9346_return_outside_of_function_scope
issue_15572_break_on_inline_while
labeled_block_continue
labeled_block_implicit_value
labeled_break_not_found
labeled_continue_not_found
lazy_pointer_with_undefined_element_type
leading_zero_in_integer
len_access_on_array_many_ptr
load_too_many_bytes_from_comptime_reinterpreted_pointer
load_uninstantiable_type
load_vector_pointer_with_unknown_runtime_index
loading_spirv_runtime_array_value
local_shadows_global_that_occurs_later
local_variable_redeclaration
local_variable_redeclares_parameter
local_variable_shadowing_global
locally_shadowing_a_primitive_type
main_function_with_bogus_args_type
main_missing_name
matrix.zon
member_function_arg_mismatch
memcpy_alias
memcpy_bad_type
memset_no_length
method_call_on_error_union
method_call_with_first_arg_type_primitive
method_call_with_first_arg_type_wrong_container
minmax_missing_args
minmax_nonnumeric_operand
missing_boolean_switch_value
missing_builtin_arg_in_initializer
missing_const_in_slice_with_nested_array_type
missing_digit_after_base
missing_else_clause
missing_field_in_struct_value_expression
missing_function_name
missing_function_proto_name
missing_main_fn_in_executable
missing_param_name
missing_parameter_name
missing_parameter_name_of_generic_function
missing_result_type_for_phi_node
missing_semicolon_at_eof
missing_struct_field_in_fn_called_at_comptime
misspelled_type_with_pointer_only_reference
mod_assign_on_undefined_value
mod_on_undefined_value
mul_overflow_in_function_evaluation
muladd_int_vector
mult_assign_on_undefined_value
multiline_error_message
multiple_function_definitions
negate_on_undefined_value
negation_overflow_in_function_evaluation
negative_zero_literal
nested_error_set_mismatch
nested_generic_function_param_type_mismatch
nested_ptr_cast_bad_operand
nested_vectors
never_inline_call_of_inline_fn_with_comptime_param
no_else_prong_on_switch_on_global_error_set
noalias_on_non_pointer_param
noalias_param_coersion
noinline_fn_cc_inline
non-comptime-parameter-used-as-array-size
non-const_expression_function_call_with_struct_return_value_outside_function
non-const_expression_in_struct_literal_outside_function
non-const_switch_number_literal
non-const_variables_of_things_that_require_const_variables
non-enum_tag_type_passed_to_union
non-exhaustive_enum_field_non_final
non-exhaustive_enum_marker_assigned_a_value
non-exhaustive_enum_missing_tag_type
non-exhaustive_enum_specifies_every_value
non-extern_function_with_var_args
non-inline_for_loop_on_a_type_that_requires_comptime
non-integer_tag_type_to_automatic_union_enum
non-integer_tag_type_to_enum
non-pure_function_returns_type
non_comptime_param_in_comptime_function
non_constant_expression_in_array_size
non_error_sets_used_in_merge_error_sets_operator
non_float_passed_to_intFromFloat
non_int_passed_to_floatFromInt
non_pointer_given_to_intFromPtr
non_scalar_sentinel
non_void_error_union_payload_ignored
noreturn_builtins_divert_control_flow
normal_string_with_newline
not_an_enum_type
number_literal_bad_exponent
offsetOf-bad_field_name
offsetOf-non_struct
old_fn_ptr_in_extern_context
only_equality_binary_operator_allowed_for_error_sets
only_untyped_undef_coerces_to_all_types
opaque_type_with_field
optional_empty_error_set
or_on_undefined_value
orelse_on_undefined_value
out_of_bounds_index
out_of_int_range_comptime_float_passed_to_intFromFloat
overflow_arithmetic_on_vector_with_undefined_elems
overflow_in_enum_value_allocation
panic_called_at_compile_time
panic_has_source_location
parameter_redeclaration
parameter_shadowing_global
pass_const_ptr_to_mutable_ptr_fn
passing_a_not-aligned-enough_pointer_to_cmpxchg
passing_an_under-aligned_function_pointer
peer_cast_then_implicit_cast_const_pointer_to_mutable_C_pointer
pointer_arithmetic_on_pointer-to-array
pointer_attributes_checked_when_coercing_pointer_to_anon_literal
pointer_exceeds_containing_value
pointer_in_bitpack
pointer_with_different_address_spaces
pointers_with_different_address_spaces
pointless_discard
popCount-non-integer
primitive_integer_type_with_leading_zero
primitives_take_precedence_over_declarations
private_main_fn
ptr_coerced_to_slice
ptrcast_anyopaque_to_slice
ptrCast_discards_const_qualifier
ptrcast_to_non-pointer
ptrFromInt_non_ptr_type
ptrFromInt_with_misaligned_address
range_operator_in_switch_used_on_error_set
reading_past_end_of_pointer_casted_array
reassign_to_array_parameter
reassign_to_slice_parameter
reassign_to_struct_parameter
recursive_inline_fn
redefinition_of_enums
redefinition_of_global_variables
redefinition_of_struct
redundant_comptime_keyword
redundant_comptime_var
redundant_in_comptime
redundant_inline
redundant_ptr_cast
redundant_try
refer_to_the_type_of_a_generic_function
reference_to_const_data
referring_to_a_struct_that_is_invalid
regression_test_2980_base_type_u32_is_not_type_checked_properly_when_assigning_a_value_within_a_struct
reified_enum_field_value_overflow
reify_enum_with_duplicate_field
reify_enum_with_duplicate_tag_value
reify_struct
reify_type.Fn_with_is_var_args_true_and_non-C_callconv
reify_type_for_exhaustive_enum_with_non-integer_tag_type
reify_type_for_exhaustive_enum_with_undefined_tag_type
reify_type_for_tagged_extern_union
reify_type_for_tagged_union_with_extra_enum_field
reify_type_for_tagged_union_with_extra_union_field
reify_type_for_tagged_union_with_no_enum_fields
reify_type_for_tagged_union_with_no_union_fields
reify_type_for_union_with_opaque_field
reify_type_with_invalid_field_alignment
reify_type_with_undefined
reify_typeOf_with_incompatible_arguments
reify_typeOf_with_no_arguments
reject_extern_function_definitions_with_body
reject_extern_variables_with_initializers
repeated_invalid_field_access_to_generic_function_returning_type_crashes_compiler_2655
resolve_inferred_error_set_of_generic_fn
result_location_incompatibility_mismatching_handle_is_ptr
result_location_incompatibility_mismatching_handle_is_ptr_generic_call
ret_coercion_error_in_generic_fn_called_from_non_fn_scope
return_addr_of_local
return_from_defer_expression
return_from_naked_function
return_incompatible_generic_struct
return_invalid_type_from_test
return_undefined_from_noreturn
returns_in_defer
runtime_@ptrFromInt_to_comptime_only_type
runtime_align
runtime_assignment_to_comptime_struct_type
runtime_assignment_to_comptime_union_type
runtime_bound_arg_with_comptime_param
runtime_cast_to_union_which_has_non-void_fields
runtime_condition_comptime_type_in_destructure
runtime_condition_in_inline_loop
runtime_index_into_comptime_only_many_ptr
runtime_index_into_comptime_type_slice
runtime_indexing_comptime_array
runtime_operation_in_comptime_scope
runtime_store_to_comptime_field
runtime_to_comptime_num
runtime_value_in_comptime_array
runtime_value_in_comptime_scope
runtime_value_in_comptime_struct
runtime_value_in_switch_prong
saturating_arithmetic_does_not_allow_floats
saturating_shl_does_not_allow_negative_rhs
saturating_shl_lhs_must_be_an_integer
self_reference_missing_const
self_referential_struct_requires_comptime
self_referential_union_requires_comptime
sema_src_used_after_inline_call
sentinel_references_comptime_var
setting_a_section_on_a_local_variable
setting_an_address_space_on_a_local_variable
shift_amount_has_to_be_an_integer_type
shift_by_larger_than_usize
shift_by_negative_comptime_integer
shift_on_type_with_non-power-of-two_size
shifting_RHS_is_log2_of_LHS_int_bit_width
shifting_without_int_type_or_comptime_known
shl_exact_on_undefined_value
shl_on_undefined_value
shl_with_overflow_on_undefined_value
shlExact_shifts_out_1_bits
shr_exact_on_undefined_value
shr_on_undefined_value
shrExact_shifts_out_1_bits
shuffle_with_selected_index_past_first_vector_length
signed_integer_division
signed_integer_remainder_division
simple_struct_loop
sizeOf_bad_type
sizeof_empty_union
slice_cannot_have_its_bytes_reinterpreted
slice_cast_change_len
slice_end_index_undefined
slice_of_many-item_pointer_preserves_sentinel
slice_of_non_array_type
slice_of_null_pointer
slice_of_single-item_pointer_bounds
slice_passed_as_array_init_type
slice_passed_as_array_init_type_with_elems
slice_sentinel_mismatch
slice_to_anyopaque_pointer
slice_to_array_pointer
slice_used_as_extern_fn_param
specify_enum_tag_type_that_is_too_small
specify_non-integer_enum_tag_type
spirv_c_constraint_errors
spirv_cannot_call_function_pointer
spirv_extern_runtime_descriptor_array
spirv_extern_var_addrspace
spirv_global_var_must_be_threadlocal
spirv_merge_logical_pointers
spirv_pointer_cast_requires_offset_zero
spirv_slices
spirv_vulkan_threadlocal_addrspace
SpirvType_is_a_compile_error_in_non-SPIRV_targets
SpirvType_vulkan_target
stack_usage_in_naked_function
std.fmt_error_for_unused_arguments
store_comptime_only_type_to_runtime_pointer
store_to_comptime_var_through_call
store_vector_pointer_with_unknown_runtime_index
struct_depends_on_itself_via_non_initial_field
struct_depends_on_itself_via_optional_field
struct_duplicate_field_name
struct_field_queries_hasfield_of_itself
struct_init_passed_to_type_param
struct_init_syntax_for_array
struct_type_mismatch_in_arg
struct_type_returned_from_non-generic_function
struct_uses_reified_type_which_queries_struct_alignment
struct_uses_sizeof_self_as_array_len
struct_with_invalid_field
sub_assign_on_undefined_value
sub_overflow_in_function_evaluation
sub_sat_on_undefined_value
sub_wrap_on_undefined_value
switch_bitpack_exhaustion
switch_capture_incompatible_types
switch_expression-duplicate_enumeration_prong
switch_expression-duplicate_enumeration_prong_when_else_present
switch_expression-duplicate_error_prong
switch_expression-duplicate_error_prong_when_else_present
switch_expression-duplicate_type
switch_expression-duplicate_type_struct_alias
switch_expression-missing_enumeration_prong
switch_expression-missing_error_prong
switch_expression-multiple_else_prongs
switch_expression-non_exhaustive_absorbing
switch_expression-non_exhaustive_inline
switch_expression-non_exhaustive_integer_prongs
switch_expression-non_exhaustive_unreachable_else
switch_expression-switch_on_pointer_type_with_no_else
switch_expression-unreachable_else_prong_bool
switch_expression-unreachable_else_prong_enum
switch_expression-unreachable_else_prong_error
switch_expression-unreachable_else_prong_range_i8
switch_expression-unreachable_else_prong_range_u8
switch_expression-unreachable_else_prong_u1
switch_expression-unreachable_else_prong_u2
switch_invalid_tag_capture
switch_loop_discarded_capture
switch_on_enum_with_1_field_with_no_prongs
switch_on_error_bad_captures_astgen
switch_on_error_bad_captures_sema
switch_on_error_shadows_case_capture
switch_on_error_with_1_field_with_no_prongs
switch_on_error_with_non_trivial_switch_operand
switch_on_invalid_type
switch_on_non_err_union
switch_on_slice
switch_on_undefined_union
switch_on_union_with_no_attached_enum
switch_on_union_with_nonexhaustive_tag_is_exhaustive
switch_ranges_endpoints_are_validated
switch_validate_else_prong
switch_with_overlapping_case_ranges
switching_with_exhaustive_enum_has___prong_
switching_with_non-exhaustive_enums
tab_inside_comment
tab_inside_doc_comment
tab_inside_multiline_string
tab_inside_string
tag_capture_in_else_prong
tagName_on_invalid_value_of_non-exhaustive_enum
tagName_on_undef_enum_literal
tagName_used_on_union_with_no_associated_enum_tag
tail_call_through_inline
take_slice_of_invalid_dereference
threadlocal_qualifier_on_const
too_big_bitpack_struct
top_level_decl_dependency_loop
truncate_sign_mismatch
try_in_comptime_in_struct_in_test
try_in_function_with_non_error_return_type
try_return
tuple_declarations
tuple_in_extern_context
tuple_init_edge_cases
tuple_ptr_to_mut_slice
type_checking_function_pointers
type_dedupe
type_error_in_implicit_return
type_error_union_field_type
type_mismatch_in_C_prototype_with_varargs
type_mismatch_with_tuple_concatenation
type_names
type_variables_must_be_constant
unable_to_evaluate_comptime_expr
undeclared_identifier
undeclared_identifier_error_should_mark_fn_as_impure
undeclared_identifier_in_unanalyzed_branch
undef_arith_is_illegal
undef_arith_returns_undef
undef_shifts_are_illegal
undefined_as_field_type_is_rejected
undefined_assembly_clobbers
undefined_enum_value
undefined_function_call
undefined_value_call
underscore_is_not_a_declarable_symbol
underscore_should_not_be_usable_inside_for
underscore_should_not_be_usable_inside_while
underscore_should_not_be_usable_inside_while_else
unhandled_enum_value_in_switch_with_enum_declared_in_other_file
union_access_of_inactive_field
union_auto-enum_value_already_taken
union_backed_by_enum_backed_by_comptime_int
union_calling_inactive_field_as_fn
union_duplicate_enum_field
union_duplicate_field_definition
union_enum_field_does_not_match_enum
union_enum_field_missing
union_extra_field
union_field_ordered_differently_than_enum
union_fields_are_resolved_before_tag_type_is_needed
union_init_with_non_type_as_first_param
union_init_with_none_or_multiple_fields
union_init_with_struct_as_first_param
union_noreturn_field_initialized
union_runtime_coercion_from_enum
union_with_specified_enum_omits_field
union_with_too_small_explicit_signed_tag_type
union_with_too_small_explicit_unsigned_tag_type
unreachable_code
unreachable_code-double_break
unreachable_code-nested_returns
unreachable_else_prong_err_set
unreachable_executed_at_comptime
unreachable_in_naked_func
unreachable_parameter
unreachable_variable
unreachable_with_return
untagged_union_integer_conversion
unused_value_in_switch_in_loop
unused_vars
use_anyopaque_as_return_type_of_fn_ptr
use_implicit_casts_to_assign_null_to_non-nullable_pointer
use_invalid_number_literal_as_array_index
use_of_undeclared_identifier
using_an_unknown_len_ptr_type_instead_of_array
value_as_inline_fn_return_type
var_never_mutated
variable_has_wrong_type
variable_initialization_compile_error_then_referenced
variable_with_type_noreturn
variadic_arg_validation
vector_index_out_of_bounds
wasmMemoryGrow_is_a_compile_error_in_non-Wasm_targets
wasmMemorySize_is_a_compile_error_in_non-Wasm_targets
while_expected_bool_got_error_union
while_expected_bool_got_optional
while_expected_error_union_got_bool
while_expected_error_union_got_optional
while_expected_optional_got_bool
while_expected_optional_got_error_union
while_loop_body_expression_ignored
while_loop_break_value_ignored
write_to_const_global_variable
wrong_function_type
wrong_initializer_for_union_payload_of_type_type
wrong_number_of_arguments
wrong_number_of_arguments_for_method_fn_call
wrong_pointer_coerced_to_pointer_to_opaque_{}
wrong_same_named_struct
wrong_size_to_an_array_literal
wrong_type_for_reify_type
wrong_type_passed_to_panic
wrong_type_to_hasField
wrong_types_given_to_atomic_order_args_in_cmpxchg
wrong_types_given_to_export
zero-bit_generic_args_are_coerced_to_param_type
zero_width_nonexhaustive_enum