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

debuginfo: Fix Issue #11083 #11274

Merged
merged 2 commits into from
Jan 2, 2014
Merged

Conversation

michaelwoerister
Copy link
Member

This pull request fixes #11083. The problem was that recursive type definitions were not properly handled for enum types, leading to problems with LLVM's metadata "uniquing". This bug has already been fixed for struct types some time ago (#9658) but I seem to have forgotten about enums back then. I added the offending code from issue #11083 as a test case.

bors added a commit that referenced this pull request Jan 2, 2014
This pull request fixes #11083. The problem was that recursive type definitions were not properly handled for enum types, leading to problems with LLVM's metadata "uniquing". This bug has already been fixed for struct types some time ago (#9658) but I seem to have forgotten about enums back then. I added the offending code from issue #11083 as a test case.
@bors bors closed this Jan 2, 2014
@bors bors merged commit 645bb32 into rust-lang:master Jan 2, 2014
@michaelwoerister michaelwoerister deleted the issue11083 branch February 7, 2022 09:28
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 8, 2024
Fixed FP in `redundant_closure_call` when closures are passed to macros

There are cases where the closure call is needed in some macros, this in particular occurs when the closure has parameters. To handle this case, we allow the lint when there are no parameters in the closure, or the closure is outside a macro invocation.

fixes: rust-lang#11274 rust-lang#1553
changelog: FP: [`redundant_closure_call`] when closures with parameters are passed in macros.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 8, 2024
There are cases where the closure call is needed in some macros, this in
particular occurs when the closure has parameters. To handle this case,
we allow the lint when there are no parameters in the closure, or the
closure is outside a macro invocation.

fixes: rust-lang#11274, rust-lang#1553
changelog: FP: [`redundant_closure_call`] when closures with parameters
are passed in macros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE: debuginfo::set_members_of_composite_type()
3 participants