Point at type ascription before macro invocation on expansion parse error

This commit is contained in:
Esteban Küber
2019-07-18 18:36:19 -07:00
parent 04b88a9eba
commit c82e1f2d0e
9 changed files with 57 additions and 13 deletions

View File

@@ -38,6 +38,7 @@ pub fn expand_assert<'cx>(
))
}).into(),
delim: MacDelimiter::Parenthesis,
prior_type_ascription: None,
};
let if_expr = cx.expr_if(
sp,