Skip to content

Commit

Permalink
Make some types in tests public
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Oct 17, 2024
1 parent e153642 commit f1f89f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ fn push_multiple<let N: u32>(array: [Field; N]) -> [Field; N + 2] {
// The rest of this file is setup for demo_proof
// *********************************************

struct W<let N: u32> { }
pub struct W<let N: u32> { }

struct Equiv<T, TU, U, UT> {
pub struct Equiv<T, TU, U, UT> {
// TODO(https://github.com/noir-lang/noir/issues/5644):
// Bug with struct_obj.field_thats_a_fn(x)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::meta::type_of;

struct Foo { x: Field, field: Field }
pub struct Foo { x: Field, field: Field }

#[function_attr]
pub fn foo(w: i32, y: Field, Foo { x, field: some_field }: Foo, mut a: bool, (b, c): (i32, i32)) -> i32 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ comptime fn outer_attribute_separate_module(m: Module) {
increment_counter();
}

struct Foo {}
pub struct Foo {}

#[add_function]
mod add_to_me {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
struct WeirdStruct<T, U> {
pub struct WeirdStruct<T, U> {
a: T,
b: U,
}
Expand Down

0 comments on commit f1f89f5

Please sign in to comment.