Skip to content

Commit

Permalink
Update compiler/rustc_codegen_ssa/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Vadim Petrochenkov <[email protected]>
  • Loading branch information
pacak and petrochenkov authored Apr 19, 2024
1 parent a7d3556 commit 42a10bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_ssa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub struct CompiledModule {

impl CompiledModule {
/// Call `emit` function with every artifact type currently compiled
pub fn for_each_output<F>(&self, mut emit: F)
pub fn for_each_output(&self, mut emit: impl FnMut(&Path, OutputType))
where
F: FnMut(&Path, OutputType),
{
Expand Down

0 comments on commit 42a10bb

Please sign in to comment.