-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-proc-macrosArea: Procedural macrosArea: Procedural macrosC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Currently, syntax extensions can generate code with DUMMY_SP in its AST. All compiler diagnostics from that code, and all stack backtraces generated by that code, are basically worthless.
That should not be possible. The lowered HIR should not have any DUMMY_SP.
cc @rust-lang/compiler
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-proc-macrosArea: Procedural macrosArea: Procedural macrosC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.