diff options
| author | Michael Goulet <michael@errs.io> | 2024-11-16 20:18:13 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-10 16:52:20 +0000 |
| commit | a7fa4cbcb498b80b126a954b5944f19a11e28dec (patch) | |
| tree | 462d7ced92d08e35a6cae86caeb804c8dbefb635 /compiler/rustc_monomorphize | |
| parent | 3b057796264e637b31c28809322028a32d22ae6f (diff) | |
| download | rust-a7fa4cbcb498b80b126a954b5944f19a11e28dec.tar.gz rust-a7fa4cbcb498b80b126a954b5944f19a11e28dec.zip | |
Implement projection and shim for AFIDT
Diffstat (limited to 'compiler/rustc_monomorphize')
| -rw-r--r-- | compiler/rustc_monomorphize/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/lib.rs b/compiler/rustc_monomorphize/src/lib.rs index caae54cd559..714b64b3a23 100644 --- a/compiler/rustc_monomorphize/src/lib.rs +++ b/compiler/rustc_monomorphize/src/lib.rs @@ -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 + ); } } } |
