Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/hir.rs')
| -rw-r--r-- | crates/hir-def/src/hir.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/hir-def/src/hir.rs b/crates/hir-def/src/hir.rs index 2f7724c72e..a800569044 100644 --- a/crates/hir-def/src/hir.rs +++ b/crates/hir-def/src/hir.rs @@ -323,6 +323,7 @@ pub enum Expr { Underscore, OffsetOf(OffsetOf), InlineAsm(InlineAsm), + IncludeBytes, } impl Expr { @@ -344,7 +345,8 @@ impl Expr { | Expr::RecordLit { .. } | Expr::Tuple { .. } | Expr::OffsetOf(_) - | Expr::Underscore => ExprPrecedence::Unambiguous, + | Expr::Underscore + | Expr::IncludeBytes => ExprPrecedence::Unambiguous, Expr::Await { .. } | Expr::Call { .. } |