Skip to content

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

Closed
@RalfJung

Description

@RalfJung

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.

Metadata

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