diff --git a/src/protocol/ast_printer.rs b/src/protocol/ast_printer.rs index 8c46a4b463b26fda3a4ea794a9221b1aee169996..4e566cdc23d634459b11530513dee8b50d57f704 100644 --- a/src/protocol/ast_printer.rs +++ b/src/protocol/ast_printer.rs @@ -919,7 +919,9 @@ fn write_concrete_type(target: &mut String, heap: &Heap, def_id: DefinitionId, t idx = write_concrete_part(target, heap, def_id, t, idx + 1); } target.push('>'); - } + }, + CTP::Function(_, _) => todo!("AST printer for ConcreteTypePart::Function"), + CTP::Component(_, _) => todo!("AST printer for ConcreteTypePart::Component"), } idx + 1