| 6765 | } |
| 6766 | |
| 6767 | void suite_rust_lsp(void) { |
| 6768 | /* Free function dispatch */ |
| 6769 | RUN_TEST(rustlsp_free_function_call); |
| 6770 | RUN_TEST(rustlsp_two_free_functions); |
| 6771 | |
| 6772 | /* Inherent impl */ |
| 6773 | RUN_TEST(rustlsp_struct_method_dispatch); |
| 6774 | RUN_TEST(rustlsp_struct_method_self); |
| 6775 | RUN_TEST(rustlsp_struct_constructor_self_new); |
| 6776 | RUN_TEST(rustlsp_method_chain_via_return_type); |
| 6777 | |
| 6778 | /* Trait dispatch */ |
| 6779 | RUN_TEST(rustlsp_trait_dispatch_single_impl); |
| 6780 | RUN_TEST(rustlsp_prelude_trait_clone); |
| 6781 | |
| 6782 | /* Path resolution */ |
| 6783 | RUN_TEST(rustlsp_use_alias_call); |
| 6784 | RUN_TEST(rustlsp_use_brace_list); |
| 6785 | RUN_TEST(rustlsp_use_as_alias); |
| 6786 | |
| 6787 | /* Generics */ |
| 6788 | RUN_TEST(rustlsp_vec_method_chain); |
| 6789 | RUN_TEST(rustlsp_option_unwrap_chain); |
| 6790 | RUN_TEST(rustlsp_result_ok_err); |
| 6791 | RUN_TEST(rustlsp_string_methods); |
| 6792 | |
| 6793 | /* Patterns + control flow */ |
| 6794 | RUN_TEST(rustlsp_let_pattern_simple); |
| 6795 | RUN_TEST(rustlsp_if_let_some); |
| 6796 | RUN_TEST(rustlsp_for_loop_vec); |
| 6797 | RUN_TEST(rustlsp_match_arm_binding); |
| 6798 | |
| 6799 | /* Macros */ |
| 6800 | RUN_TEST(rustlsp_println_macro); |
| 6801 | RUN_TEST(rustlsp_vec_macro_with_inner_call); |
| 6802 | RUN_TEST(rustlsp_format_returns_string); |
| 6803 | |
| 6804 | /* Stdlib semantics */ |
| 6805 | RUN_TEST(rustlsp_hashmap_insert_get); |
| 6806 | RUN_TEST(rustlsp_string_chain_starts_with); |
| 6807 | |
| 6808 | /* Self::, UFCS */ |
| 6809 | RUN_TEST(rustlsp_self_uppercase); |
| 6810 | RUN_TEST(rustlsp_ufcs_trait_method); |
| 6811 | |
| 6812 | /* Cross-file */ |
| 6813 | RUN_TEST(rustlsp_crossfile_method_dispatch); |
| 6814 | RUN_TEST(rustlsp_shared_registry_resolves_like_per_file); |
| 6815 | RUN_TEST(rustlsp_relative_type_requires_declared_module); |
| 6816 | RUN_TEST(rustlsp_relative_type_ambiguous_graph_paths_fail_closed); |
| 6817 | RUN_TEST(rustlsp_shared_registry_macro_hidden_call_has_carrier); |
| 6818 | RUN_TEST(rustlsp_shared_dispatch_merges_existing_exact_occurrence); |
| 6819 | RUN_TEST(rustlsp_scratch_cross_macro_carrier_survives_copy); |
| 6820 | RUN_TEST(rustlsp_macro_same_leaf_carriers_are_occurrence_exact); |
| 6821 | RUN_TEST(rustlsp_operator_carriers_are_occurrence_exact); |
| 6822 | RUN_TEST(rustlsp_macro_operator_has_one_exact_carrier); |
| 6823 | RUN_TEST(rustlsp_known_std_macro_resolutions_have_exact_sites); |
| 6824 | RUN_TEST(rustlsp_known_std_macro_carriers_join_exact_sites); |
nothing calls this directly
no outgoing calls
no test coverage detected