Skip to content

Commit

Permalink
Fix parameter for Interner in derive(FallibleTypeFolder) macro
Browse files Browse the repository at this point in the history
  • Loading branch information
lowr committed Oct 13, 2022
1 parent 1b32e5d commit f299265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chalk-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ fn derive_fallible_type_folder(mut s: synstructure::Structure) -> TokenStream {
quote! {
type Error = ::core::convert::Infallible;

fn as_dyn(&mut self) -> &mut dyn ::chalk_ir::fold::FallibleTypeFolder<I, Error = Self::Error> {
fn as_dyn(&mut self) -> &mut dyn ::chalk_ir::fold::FallibleTypeFolder<#interner, Error = Self::Error> {
self
}

Expand Down

0 comments on commit f299265

Please sign in to comment.