]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/hir_stats.rs
Rollup merge of #104511 - dpaoliello:privateglobalworkaround, r=michaelwoerister
[rust.git] / compiler / rustc_passes / src / hir_stats.rs
index 33220fd2b395dd0c32de941878104d5728d91f50..140f02c046a66c3b48d82f9a3f28acc42b3e24a5 100644 (file)
@@ -560,13 +560,14 @@ fn visit_pat(&mut self, p: &'v ast::Pat) {
     }
 
     fn visit_expr(&mut self, e: &'v ast::Expr) {
+        #[rustfmt::skip]
         record_variants!(
             (self, e, e.kind, Id::None, ast, Expr, ExprKind),
             [
                 Box, Array, ConstBlock, Call, MethodCall, Tup, Binary, Unary, Lit, Cast, Type, Let,
                 If, While, ForLoop, Loop, Match, Closure, Block, Async, Await, TryBlock, Assign,
                 AssignOp, Field, Index, Range, Underscore, Path, AddrOf, Break, Continue, Ret,
-                InlineAsm, MacCall, Struct, Repeat, Paren, Try, Yield, Yeet, Err
+                InlineAsm, MacCall, Struct, Repeat, Paren, Try, Yield, Yeet, IncludedBytes, Err
             ]
         );
         ast_visit::walk_expr(self, e)