diff --git a/codegen/src/generator.rs b/codegen/src/generator.rs index 72dfae6..abe21b8 100644 --- a/codegen/src/generator.rs +++ b/codegen/src/generator.rs @@ -260,7 +260,7 @@ fn write_message(msg_proto: &DescriptorProto, output: &mut String) { } } // raw_fields() convenience on the message struct (before closing the impl) - output.push_str(" pub fn raw_fields(&self) -> roto::RawFieldIterator<'a> {\n"); + output.push_str(" pub fn raw_fields(&self) -> roto_runtime::RawFieldIterator<'a> {\n"); output.push_str(" self.accessor.raw_fields()\n"); output.push_str(" }\n\n"); output.push_str("}\n\n");