Incorrect std::mem::size_of_var for extern types #106577
Labels
C-bug
Category: This is a bug.
F-extern_types
`#![feature(extern_types)]`
requires-nightly
This issue requires a nightly compiler in some way.
Hello, following code on nightly playground returns zero, indicating extern type behaving like ZST, while in comparison,
size_of
fails to compile. According to the RFC, panicking or compilation failure should happen, so this behavior seem incorrect.The text was updated successfully, but these errors were encountered: