::core::assert!
in #![no_implicit_prelude]
fails to compile because it calls panic!
instead of ::core::panic!
#84357
Labels
C-bug
Category: This is a bug.
I tried this code:
playground.
I expected to see this happen: It panics at runtime.
Instead, this happened: It fails to compile.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: