Make unexpected always "return" PResult<()> & add unexpected_any
This prevents breakage when `?` no longer skews inference.
This commit is contained in:
@@ -189,7 +189,7 @@ pub fn parse_asm_args<'a>(
|
||||
args.templates.push(template);
|
||||
continue;
|
||||
} else {
|
||||
return p.unexpected();
|
||||
p.unexpected_any()?
|
||||
};
|
||||
|
||||
allow_templates = false;
|
||||
|
||||
Reference in New Issue
Block a user