Cannot tell apart panic!() and assert!(false, "") in macro_backtrace() #82157
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
The two expressions:
Used to result in distinct
macro_backtrace()
. After updating tonightly-2021-02-14
(and I guess since #80851), the backtrace for both is identical, both listing the calls["std::panic::panic_2015", "std::panic"]
.IIUC, the latter should contain an additional
core::assert
orstd::assert
item in the backtrace.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: