about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-11-05 12:29:15 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-11-05 16:29:16 +0000
commitec29a02071a3bdc95bb36d8f1a5693803295431e (patch)
tree4900a34f0dc1f63d8cdc2b2280b733a707548bb9
parentba82056a1434bb9086bb9fa7b75878600996a327 (diff)
downloadrust-ec29a02071a3bdc95bb36d8f1a5693803295431e.tar.gz
rust-ec29a02071a3bdc95bb36d8f1a5693803295431e.zip
Update doc comment for CodegenBackend::link
-rw-r--r--compiler/rustc_codegen_ssa/src/traits/backend.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/backend.rs b/compiler/rustc_codegen_ssa/src/traits/backend.rs
index ac8123bc1be..35744d9a167 100644
--- a/compiler/rustc_codegen_ssa/src/traits/backend.rs
+++ b/compiler/rustc_codegen_ssa/src/traits/backend.rs
@@ -104,11 +104,7 @@ pub trait CodegenBackend {
         outputs: &OutputFilenames,
     ) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed>;
 
-    /// This is called on the returned `Box<dyn Any>` from `join_codegen`
-    ///
-    /// # Panics
-    ///
-    /// Panics when the passed `Box<dyn Any>` was not returned by `join_codegen`.
+    /// This is called on the returned `CodegenResults` from `join_codegen`
     fn link(
         &self,
         sess: &Session,