Make CodegenBackend::join_codegen
infallible.
Because they all are, in practice.
This commit is contained in:
parent
cbddf31863
commit
ede99234c4
6 changed files with 12 additions and 14 deletions
|
@ -102,7 +102,7 @@ pub trait CodegenBackend {
|
|||
ongoing_codegen: Box<dyn Any>,
|
||||
sess: &Session,
|
||||
outputs: &OutputFilenames,
|
||||
) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed>;
|
||||
) -> (CodegenResults, FxIndexMap<WorkProductId, WorkProduct>);
|
||||
|
||||
/// This is called on the returned `CodegenResults` from `join_codegen`
|
||||
fn link(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue