diff --git a/src/protocol/mod.rs b/src/protocol/mod.rs index 1b22d31e02ca3dd2218e5327823727bb2a53e821..11a19bd3ffbdc35734f7290fdbe9bad6d3276054 100644 --- a/src/protocol/mod.rs +++ b/src/protocol/mod.rs @@ -147,7 +147,7 @@ impl ProtocolDescription { use ConcreteTypePart as CTP; match &expected.parts[expected_idx] { - CTP::Void | CTP::Message | CTP::Slice | CTP::Function(_, _) | CTP::Component(_, _) => unreachable!(), + CTP::Void | CTP::Message | CTP::Slice | CTP::Pointer | CTP::Function(_, _) | CTP::Component(_, _) => unreachable!(), CTP::Bool => if let Value::Bool(_) = argument { true } else { false }, CTP::UInt8 => if let Value::UInt8(_) = argument { true } else { false }, CTP::UInt16 => if let Value::UInt16(_) = argument { true } else { false },