]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/rustfmt/src/expr.rs
Rollup merge of #104148 - fmease:fix-104140, r=petrochenkov
[rust.git] / src / tools / rustfmt / src / expr.rs
index 3105882e2d308085a6e0f8ab2269e47594a0d8b2..7750df0fff3afb124e133f245d22e8dbf635ee44 100644 (file)
@@ -399,6 +399,7 @@ fn needs_space_after_range(rhs: &ast::Expr) -> bool {
             }
         }
         ast::ExprKind::Underscore => Some("_".to_owned()),
+        ast::ExprKind::IncludedBytes(..) => unreachable!(),
         ast::ExprKind::Err => None,
     };