diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-11-05 12:29:15 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-11-05 16:29:16 +0000 |
| commit | ec29a02071a3bdc95bb36d8f1a5693803295431e (patch) | |
| tree | 4900a34f0dc1f63d8cdc2b2280b733a707548bb9 | |
| parent | ba82056a1434bb9086bb9fa7b75878600996a327 (diff) | |
| download | rust-ec29a02071a3bdc95bb36d8f1a5693803295431e.tar.gz rust-ec29a02071a3bdc95bb36d8f1a5693803295431e.zip | |
Update doc comment for CodegenBackend::link
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/backend.rs | 6 |
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, |
