From baff99c556a22c962c15cfb9f79a0dcb1d467b20 Mon Sep 17 00:00:00 2001 From: Ryan Lee <138088339+minux-lee@users.noreply.github.com> Date: Mon, 25 Aug 2025 15:49:10 +0900 Subject: [PATCH] Remove bug comments from Repeat variant Removed comments related to a bug in Repeat variant. --- compiler/rustc_middle/src/mir/syntax.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler/rustc_middle/src/mir/syntax.rs b/compiler/rustc_middle/src/mir/syntax.rs index 6039a03aa29de..3b8def67f92d7 100644 --- a/compiler/rustc_middle/src/mir/syntax.rs +++ b/compiler/rustc_middle/src/mir/syntax.rs @@ -1371,12 +1371,7 @@ pub enum Rvalue<'tcx> { /// Creates an array where each element is the value of the operand. /// - /// This is the cause of a bug in the case where the repetition count is zero because the value - /// is not dropped, see [#74836]. - /// /// Corresponds to source code like `[x; 32]`. - /// - /// [#74836]: https://github.com/rust-lang/rust/issues/74836 Repeat(Operand<'tcx>, ty::Const<'tcx>), /// Creates a reference of the indicated kind to the place.