diff --git a/compiler/rustc_hir_typeck/src/expr.rs b/compiler/rustc_hir_typeck/src/expr.rs index 23a8cc4e8ec..f279d7d4827 100644 --- a/compiler/rustc_hir_typeck/src/expr.rs +++ b/compiler/rustc_hir_typeck/src/expr.rs @@ -3124,7 +3124,7 @@ fn check_offset_of( sym::offset_of_enum, ident.span, "using enums in offset_of is experimental", - ).emit(); + ).emit(); } let Some((index, variant)) = container_def.variants()