Skip to content

librustc: Fix a couple of cases in which unboxed closure typechecking - #16637

Merged
bors merged 1 commit into
rust-lang:masterfrom
pcwalton:unboxed-closures-expected-tuple
Aug 22, 2014
Merged

librustc: Fix a couple of cases in which unboxed closure typechecking#16637
bors merged 1 commit into
rust-lang:masterfrom
pcwalton:unboxed-closures-expected-tuple

Conversation

@pcwalton

Copy link
Copy Markdown
Contributor

code wasn't considering the zero-argument case.

Closes#16168.

r? @pnkfelix

bors added a commit that referenced this pull request Aug 21, 2014
… r=pnkfelix
code wasn't considering the zero-argument case.
Closes#16168.
r? @pnkfelix
@borsbors closed this Aug 22, 2014
@bors
bors merged commit 7f4c5be into rust-lang:masterAug 22, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 25, 2024
…r=Veykril
fix: Fix proc-macro server not accounting for string delimiters correctly
Fixesrust-lang/rust-analyzer#16622
Note that this is a bug a in the proc-macro server, so this won't be fixed until the next subtree sync
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 5, 2026
…ust-lang#16637)
Encodes the direct relationship between the lengths of `locals` and the
returned list, making the code more type-safe
changelog: none
Sign up for freeto 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.

Cannot call call_mut on an unboxed closure with no arguments due to type () not being ()

3 participants

@pcwalton@pnkfelix@bors