ICE (OperandValue cannot be a pointer) trying to convert dyn PointerLike
to dyn* PointerLike
with unsized_fn_params
#134543
Labels
C-bug
Category: This is a bug.
F-dyn_star
`#![feature(dyn_star)]`
F-unsized_fn_params
`#![feature(unsized_fn_params)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Sorry if this report is unnecessary, since it uses an internal feature (unsized_fn_params), although there are other still-open issues on this repo involving this specific feature. Feel free to close it if this is the case.
Code
I believe that the root issue here is that
dyn PointerLike
implementsPointerLike
, despite not being pointer-like.Meta
Reproducible on the playground with version
1.85.0-nightly (2024-12-19 9e136a30a965bf4e63f0)
Error output
Backtrace
@rustbot labels +F-dyn_star +F-unsized_fn_params +requires-nightly
The text was updated successfully, but these errors were encountered: