Skip to content

Commit

Permalink
Fix build on 1.82.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 9, 2025
1 parent 5543b86 commit e4526a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/cranelift/src/debug/transform/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl CompiledExpression {
addr_tr: &'a AddressTransform,
frame_info: Option<&'a FunctionFrameInfo>,
isa: &'a dyn TargetIsa,
) -> impl Iterator<Item = Result<(write::Address, u64, write::Expression)>> + 'a {
) -> impl Iterator<Item = Result<(write::Address, u64, write::Expression)>> + use<'a> {
enum BuildWithLocalsResult<'a> {
Empty,
Simple(
Expand Down
7 changes: 4 additions & 3 deletions crates/environ/src/fact/trampoline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3069,13 +3069,14 @@ impl<'a> Source<'a> {

impl<'a> Destination<'a> {
/// Same as `Source::record_field_srcs` but for destinations.
fn record_field_dsts<'b>(
fn record_field_dsts<'b, I>(
&'b self,
types: &'b ComponentTypesBuilder,
fields: impl IntoIterator<Item = InterfaceType> + 'b,
) -> impl Iterator<Item = Destination<'b>> + 'b
fields: I,
) -> impl Iterator<Item = Destination<'b>> + use<'b, I>
where
'a: 'b,
I: IntoIterator<Item = InterfaceType> + 'b,
{
let mut offset = 0;
fields.into_iter().map(move |ty| match self {
Expand Down

0 comments on commit e4526a3

Please # to comment.