Implement projection and shim for AFIDT
This commit is contained in:
parent
3b05779626
commit
a7fa4cbcb4
17 changed files with 490 additions and 22 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue