@@ -2516,6 +2516,7 @@ fn main() {
25162516
25172517 #[ test]
25182518 fn goto_ref_on_short_associated_function ( ) {
2519+ cov_mark:: check!( short_associated_function_fast_search) ;
25192520 check (
25202521 r#"
25212522struct Foo;
@@ -2541,6 +2542,9 @@ fn baz() {
25412542
25422543 #[ test]
25432544 fn goto_ref_on_short_associated_function_with_aliases ( ) {
2545+ cov_mark:: check!( short_associated_function_fast_search) ;
2546+ cov_mark:: check!( container_use_rename) ;
2547+ cov_mark:: check!( container_type_alias) ;
25442548 check (
25452549 r#"
25462550//- /lib.rs
@@ -2589,6 +2593,8 @@ pub(in super::super) type Baz = Itself<crate::Foo>;
25892593
25902594 #[ test]
25912595 fn goto_ref_on_short_associated_function_self_works ( ) {
2596+ cov_mark:: check!( short_associated_function_fast_search) ;
2597+ cov_mark:: check!( self_type_alias) ;
25922598 check (
25932599 r#"
25942600//- /lib.rs
@@ -2651,6 +2657,7 @@ impl Foo {
26512657
26522658 #[ test]
26532659 fn goto_ref_on_short_associated_function_no_direct_self_but_path_contains_self ( ) {
2660+ cov_mark:: check!( short_associated_function_fast_search) ;
26542661 check (
26552662 r#"
26562663struct Foo;
@@ -2684,6 +2691,8 @@ impl Foo {
26842691 // Usages search is not 100% accurate anyway; we miss macros.
26852692 #[ test]
26862693 fn goto_ref_on_short_associated_function_complicated_type_magic_can_confuse_our_logic ( ) {
2694+ cov_mark:: check!( short_associated_function_fast_search) ;
2695+ cov_mark:: check!( same_name_different_def_type_alias) ;
26872696 check (
26882697 r#"
26892698struct Foo;
@@ -2718,6 +2727,7 @@ fn bar() {
27182727
27192728 #[ test]
27202729 fn goto_ref_on_short_associated_function_same_path_mention_alias_and_self ( ) {
2730+ cov_mark:: check!( short_associated_function_fast_search) ;
27212731 check (
27222732 r#"
27232733struct Foo;
0 commit comments