Avoid name clash

This commit is contained in:
Tony Garnock-Jones 2021-07-02 16:24:16 +02:00
parent 297d1d39eb
commit c70035b044
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ pub fn gen_definition_parser(m: &mut ModuleContext, n: &str, d: &Definition) {
names::render_constructor(n), " ", block![
seq!["type Error = _support::ParseError;"],
seq!["fn try_from(value: ", ctxt.m.target(), ") -> ",
"std::result::Result<Self, Self::Error> ",
"std::result::Result<Self, _support::ParseError> ",
block(body)]]])
});
}