internal: Split unresolve proc-macro error out of mbe

This commit is contained in:
Lukas Wirth 2022-02-21 19:14:06 +01:00
parent b663b733d9
commit 1505b6a9b4
13 changed files with 147 additions and 104 deletions

View file

@ -106,7 +106,7 @@ impl<'a> TtIter<'a> {
}
let err = if error || !cursor.is_root() {
Some(ExpandError::BindingError(format!("expected {entry_point:?}").into()))
Some(ExpandError::binding_error(format!("expected {entry_point:?}")))
} else {
None
};