Skip to content

Commit

Permalink
An other try
Browse files Browse the repository at this point in the history
  • Loading branch information
ymadzhunkov committed Aug 26, 2023
1 parent 8ea6a15 commit 675708a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/noirc_frontend/src/ast/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ impl FunctionDefinition {
(
Pattern::Identifier(ident.clone()),
unresolved_type.clone(),
noirc_abi::AbiVisibility::Private,
Visibility::Private,
)
})
.collect();
Expand All @@ -657,8 +657,8 @@ impl FunctionDefinition {
span: name.span(),
where_clause: where_clause.to_vec(),
return_type: return_type.clone(),
return_visibility: noirc_abi::AbiVisibility::Private,
return_distinctness: noirc_abi::AbiDistinctness::DuplicationAllowed,
return_visibility: Visibility::Private,
return_distinctness: Distinctness::DuplicationAllowed,
}
}
}
Expand Down

0 comments on commit 675708a

Please sign in to comment.