Skip to content

Commit

Permalink
Remove $
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Oct 16, 2024
1 parent 5433711 commit f678380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/hir/resolution/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl<'a> From<&'a ResolverError> for Diagnostic {
}
ResolverError::UnconditionalRecursion { name, span} => {
let mut diagnostic = Diagnostic::simple_warning(
format!("function `${name}` cannot return without recursing"),
format!("function `{name}` cannot return without recursing"),
"function cannot return without recursing".to_string(),
*span,
);
Expand Down

0 comments on commit f678380

Please sign in to comment.