Avoid name clash
This commit is contained in:
parent
297d1d39eb
commit
c70035b044
|
@ -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)]]])
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue