Skip to content

debuginfo: Add a "no_debug" attribute that allows to exclude functions from debuginfo generation. #16497

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 15, 2014

Conversation

michaelwoerister
Copy link
Member

Fixes #15332.

@michaelwoerister
Copy link
Member Author

Rebased...

bors added a commit that referenced this pull request Aug 15, 2014
@bors bors closed this Aug 15, 2014
@bors bors merged commit 910dd26 into rust-lang:master Aug 15, 2014
@michaelwoerister michaelwoerister deleted the no_debug_attribute branch December 29, 2014 08:42
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this pull request Feb 11, 2024
…cro-generated-method, r=Veykril

Fix incorrect inlining of functions that come from MBE macros

Partial fix for rust-lang/rust-analyzer#16471.

As a reminder, there are two issues there:
1. missing whitespace in parameter types (the first test)
2. the `self` parameter not being replaced by `this` in the function body (the second test)

The first part is fixed in this PR. See [this comment](rust-lang/rust-analyzer#16497 (comment)) for the second.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

debuginfo: Add a "nodebug" attribute that allows to exclude functions from debuginfo generation.
3 participants