Skip to content

Commit

Permalink
Merge pull request #365 from Nadrieril/update-hax
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored Sep 17, 2024
2 parents 0825fda + f770a4d commit 65c4591
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions charon/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ impl<'tcx, 'ctx, 'ctx1> BodyTransCtx<'tcx, 'ctx, 'ctx1> {
&mut self,
span: rustc_span::Span,
erase_regions: bool,
trait_ref: &hax::TraitRef,
trait_ref: &hax::Binder<hax::TraitRef>,
) -> Result<Option<TraitDeclRef>, Error> {
// TODO: handle binder properly
let trait_ref = trait_ref.as_ref().hax_skip_binder();
let trait_id = self.register_trait_decl_id(span, &trait_ref.def_id);
let parent_trait_refs = Vec::new();
let generics = self.translate_substs_and_trait_refs(
Expand Down
Loading

0 comments on commit 65c4591

Please sign in to comment.