You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to see this happen: It panics at runtime.
Instead, this happened: It fails to compile.
error: cannot find macro `panic` in this scope
--> src/main.rs:4:5
|
4 | ::core::assert!(false, "wow");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: consider importing one of these items:
core::panic
pin_utils::core_reexport::panic
std::panic
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)