Skip to content

Commit

Permalink
Update crates/flux-desugar/src/desugar.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Lehmann <nico.lehmannm@gmail.com>
  • Loading branch information
ranjitjhala and nilehmann authored Dec 16, 2024
1 parent 47aeec1 commit c844c03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/flux-desugar/src/desugar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ impl<'a, 'genv, 'tcx: 'genv> RustItemCtxt<'a, 'genv, 'tcx> {
let generics = self.as_lift_cx().lift_generics()?;
Ok(fhir::TraitItem { owner_id, generics, kind: fhir::TraitItemKind::Const })
}

pub(crate) fn desugar_fn_spec(
&mut self,
fn_spec: &surface::FnSpec,
Expand Down

0 comments on commit c844c03

Please sign in to comment.