Introduce ExprKind::IncludedBytes
This commit is contained in:
parent
5fee21fdd6
commit
660e53512f
@ -399,6 +399,7 @@ pub(crate) fn format_expr(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ast::ExprKind::Underscore => Some("_".to_owned()),
|
ast::ExprKind::Underscore => Some("_".to_owned()),
|
||||||
|
ast::ExprKind::IncludedBytes(..) => unreachable!(),
|
||||||
ast::ExprKind::Err => None,
|
ast::ExprKind::Err => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -496,6 +496,7 @@ pub(crate) fn is_block_expr(context: &RewriteContext<'_>, expr: &ast::Expr, repr
|
|||||||
| ast::ExprKind::Continue(..)
|
| ast::ExprKind::Continue(..)
|
||||||
| ast::ExprKind::Err
|
| ast::ExprKind::Err
|
||||||
| ast::ExprKind::Field(..)
|
| ast::ExprKind::Field(..)
|
||||||
|
| ast::ExprKind::IncludedBytes(..)
|
||||||
| ast::ExprKind::InlineAsm(..)
|
| ast::ExprKind::InlineAsm(..)
|
||||||
| ast::ExprKind::Let(..)
|
| ast::ExprKind::Let(..)
|
||||||
| ast::ExprKind::Path(..)
|
| ast::ExprKind::Path(..)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user