-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Cannot tell apart panic!() and assert!(false, "") in macro_backtrace() #82157
Copy link
Copy link
Open
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.Category: This is a bug.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Metadata
Metadata
Assignees
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.Category: This is a bug.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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::assertorstd::assertitem in the backtrace.Meta
rustc --version --verbose: