error: cannot find macro panic
in this scope
#78333
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-bug
Category: This is a bug.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
I tried this code:
(Playground)
I expected to see this happen:
Successful compilation
Instead, this happened:
Meta
Playground Stable Version:rustc --version --verbose
The macros should be using
$crate::panic!
, instead ofpanic!
.The text was updated successfully, but these errors were encountered: