about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Lee <138088339+minux-lee@users.noreply.github.com>2025-08-25 15:49:10 +0900
committerGitHub <noreply@github.com>2025-08-25 15:49:10 +0900
commitbaff99c556a22c962c15cfb9f79a0dcb1d467b20 (patch)
treed6f4b429889443beb64ae3d6cf18be853c62f913
parenta1dbb443527bd126452875eb5d5860c1d001d761 (diff)
downloadrust-baff99c556a22c962c15cfb9f79a0dcb1d467b20.tar.gz
rust-baff99c556a22c962c15cfb9f79a0dcb1d467b20.zip
Remove bug comments from Repeat variant
Removed comments related to a bug in Repeat variant.
-rw-r--r--compiler/rustc_middle/src/mir/syntax.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/mir/syntax.rs b/compiler/rustc_middle/src/mir/syntax.rs
index 6039a03aa29..3b8def67f92 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.