Internal compiler error when copying value of normally copyable type under no_core
#123950
Labels
C-bug
Category: This is a bug.
no_core
#123950
I tried this code:
I expected to see this happen: This should give an error that
u32
is notCopy
with a helpful hint to addimpl Copy for u32 {}
.Instead, this happened: The compiler emits a delayed bug as an internal compiler error:
error performing operation: fully_perform
.The error doesn't occur when
impl Copy for u32 {}
is added.Meta
rustc --version --verbose
:Backtrace of the compiler
The text was updated successfully, but these errors were encountered: