Skip to content

Commit a5ddfae

Browse files
committed
Gimme more details
1 parent 3b963a2 commit a5ddfae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cobalt-ast/src/types/agg.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,8 @@ impl Type for SizedArray {
766766
}
767767
}
768768
fn _can_ref_iconv(&'static self, target: TypeRef, ctx: &CompCtx) -> bool {
769-
eprintln!("self: {self}, target: {target}");
769+
eprintln!("self: {self:?}, target: {target:?}");
770+
eprintln!("target kind: {}, ptr kind: {}", target.kind(), types::Pointer::KIND);
770771
dbg!(target.is_and::<types::Pointer>(|r| r.base() == self.elem()))
771772
}
772773
fn _can_refmut_iconv(&'static self, target: TypeRef, ctx: &CompCtx) -> bool {

0 commit comments

Comments
 (0)