Skip to content

Assertion failure sometimes shows file+line number of macro, instead of use site #73119

Closed

Description

Sometimes, when an assertion fails, the file+line point to the macro in libstd, instead of the place where the macro is used. See for example #73007 (comment), and @Mark-Simulacrum said they also saw this happen locally.

Currently, it is unclear how to reproduce this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.F-track_caller`#![feature(track_caller)]`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions