diff --git a/core/src/ast/types.rs b/core/src/ast/types.rs
index 689d639cb..1a6ca9c6d 100644
--- a/core/src/ast/types.rs
+++ b/core/src/ast/types.rs
@@ -1040,7 +1040,7 @@ lazy_static! {
("f32", PrimitiveType::f32),
("f64", PrimitiveType::f64),
("bool", PrimitiveType::bool),
- ("char", PrimitiveType::char),
+ ("DiplomatChar", PrimitiveType::char),
];
static ref STRING_TO_PRIMITIVE: HashMap<&'static str, PrimitiveType> =
PRIMITIVES_MAPPING.iter().cloned().collect();
diff --git a/core/src/ast/validity.rs b/core/src/ast/validity.rs
index e8c68e225..26685e663 100644
--- a/core/src/ast/validity.rs
+++ b/core/src/ast/validity.rs
@@ -166,7 +166,7 @@ mod tests {
}
- pub fn do_thing2(opt: DiplomatResult