1
Fork 0

Implement projection and shim for AFIDT

This commit is contained in:
Michael Goulet 2024-11-16 20:18:13 +00:00
parent 3b05779626
commit a7fa4cbcb4
17 changed files with 490 additions and 22 deletions

View file

@ -42,7 +42,10 @@ fn custom_coerce_unsize_info<'tcx>(
..
})) => Ok(tcx.coerce_unsized_info(impl_def_id)?.custom_kind.unwrap()),
impl_source => {
bug!("invalid `CoerceUnsized` impl_source: {:?}", impl_source);
bug!(
"invalid `CoerceUnsized` from {source_ty} to {target_ty}: impl_source: {:?}",
impl_source
);
}
}
}