Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source lines inside of standard library macros are wrong #17234

Closed
jdm opened this issue Sep 13, 2014 · 2 comments
Closed

Source lines inside of standard library macros are wrong #17234

jdm opened this issue Sep 13, 2014 · 2 comments
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jdm
Copy link
Contributor

jdm commented Sep 13, 2014

They show up as the really really unhelpful <std macros:N>, which is really annoying for things like asssertion failures where it would be nice to see the original source line that invoked it instead.

@jdm jdm added A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) I-papercut labels Sep 13, 2014
@steveklabnik
Copy link
Member

Triage: I'm not aware of any changes here today.

@huonw huonw added the A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) label Jan 5, 2016
@Mark-Simulacrum Mark-Simulacrum added C-bug Category: This is a bug. and removed I-papercut labels Jul 22, 2017
@jonas-schievink jonas-schievink added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jan 12, 2020
@Mark-Simulacrum
Copy link
Member

I believe this has since been fixed (we no longer generate the <std macros:N> lines, anyway). Given the lack of test case I'm going to go ahead and close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants