diff options
Diffstat (limited to 'crates/hir_ty/src/tests/macros.rs')
-rw-r--r-- | crates/hir_ty/src/tests/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/tests/macros.rs b/crates/hir_ty/src/tests/macros.rs index 12951fb16..7eda51866 100644 --- a/crates/hir_ty/src/tests/macros.rs +++ b/crates/hir_ty/src/tests/macros.rs | |||
@@ -31,12 +31,12 @@ struct S; | |||
31 | 31 | ||
32 | #[cfg(not(test))] | 32 | #[cfg(not(test))] |
33 | impl S { | 33 | impl S { |
34 | fn foo3(&self) -> i32 { 0 } | 34 | pub fn foo3(&self) -> i32 { 0 } |
35 | } | 35 | } |
36 | 36 | ||
37 | #[cfg(test)] | 37 | #[cfg(test)] |
38 | impl S { | 38 | impl S { |
39 | fn foo4(&self) -> i32 { 0 } | 39 | pub fn foo4(&self) -> i32 { 0 } |
40 | } | 40 | } |
41 | "#, | 41 | "#, |
42 | ); | 42 | ); |