diff --git a/compiler/noirc_frontend/src/tests/turbofish.rs b/compiler/noirc_frontend/src/tests/turbofish.rs index 43d536fd196..e0cac726089 100644 --- a/compiler/noirc_frontend/src/tests/turbofish.rs +++ b/compiler/noirc_frontend/src/tests/turbofish.rs @@ -29,11 +29,11 @@ fn turbofish_numeric_generic_nested_call() { } impl Foo { - fn static_method() -> [u8; N] { + pub fn static_method() -> [u8; N] { [0; N] } - fn impl_method(self) -> [T; N] { + pub fn impl_method(self) -> [T; N] { [self.a; N] } } @@ -108,7 +108,7 @@ fn turbofish_in_middle_of_variable_unsupported_yet() { } impl Foo { - fn new(x: T) -> Self { + pub fn new(x: T) -> Self { Foo { x } } }