about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-25 19:52:24 +1000
committerGitHub <noreply@github.com>2025-08-25 19:52:24 +1000
commita12516f31da3267972cb42c4ab6aa3f6e8a08e6a (patch)
tree264cf046e07f10f598cd3753ad76246a9d6a2f0a
parent078bfaa343f7c1d56d702597176811df138ea9c8 (diff)
parentbaff99c556a22c962c15cfb9f79a0dcb1d467b20 (diff)
downloadrust-a12516f31da3267972cb42c4ab6aa3f6e8a08e6a.tar.gz
rust-a12516f31da3267972cb42c4ab6aa3f6e8a08e6a.zip
Rollup merge of #145836 - minux-lee:issue-145835, r=RalfJung
Remove outdated bug comments

The related issue https://github.com/rust-lang/rust/issues/74836 was closed.
This PR may close rust-lang/rust#145835. Details are in the issue rust-lang/rust#145835.
-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.