Avoid producing NoDelim values in MacArgs::delim().
This commit is contained in:
parent
10954cfd4c
commit
e08df2dd6b
1 changed files with 1 additions and 1 deletions
|
|
@ -1325,7 +1325,7 @@ pub(crate) fn can_be_overflowed_expr(
|
|||
}
|
||||
ast::ExprKind::MacCall(ref mac) => {
|
||||
match (
|
||||
rustc_ast::ast::MacDelimiter::from_token(mac.args.delim()),
|
||||
rustc_ast::ast::MacDelimiter::from_token(mac.args.delim().unwrap()),
|
||||
context.config.overflow_delimited_expr(),
|
||||
) {
|
||||
(Some(ast::MacDelimiter::Bracket), true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue