Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Sep 25, 2024
1 parent bdea5dd commit a7381bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compiler/noirc_frontend/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ fn numeric_generic_used_in_nested_type_fails() {
a: Field,
b: Bar<N>,
}
struct Bar<let N: u32> {
pub struct Bar<let N: u32> {
inner: N
}
"#;
Expand Down Expand Up @@ -3098,7 +3098,9 @@ fn errors_once_on_unused_import_that_is_not_accessible() {
struct Foo {}
}
use moo::Foo;
fn main() {}
fn main() {
let _ = Foo {};
}
"#;

let errors = get_program_errors(src);
Expand Down

0 comments on commit a7381bf

Please sign in to comment.