Fixed formatting (hopefully for the last time)
This commit is contained in:
parent
a0fed1aaf5
commit
6372f76e87
|
@ -17,8 +17,8 @@ impl<'a> Visitor<'a> for DefaultValuesOfCorrectType {
|
|||
if let BaseType::Named(vtype_name) = &variable_definition.node.var_type.node.base {
|
||||
if !ctx.registry.types.contains_key(vtype_name.as_str()) {
|
||||
ctx.report_error(
|
||||
vec![variable_definition.pos],
|
||||
format!(r#"Unknown type "{}""#, vtype_name)
|
||||
vec![variable_definition.pos],
|
||||
format!(r#"Unknown type "{}""#, vtype_name)
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user