Skip to content

Conversation

@hanmertens
Copy link
Contributor

Fixes #3089

@kiljacken
Copy link
Contributor

Would you mind adding a test to the comment just above your change?

@hanmertens
Copy link
Contributor Author

I'm not entirely sure how the tests work but I assume this should do the trick.

@edwin0cheng
Copy link
Contributor

CI falied, @hanmertens Would you mind to run cargo xtask codegen and commit the generated test case too. ?

@hanmertens
Copy link
Contributor Author

I've run cargo xtask codegen, and cargo test in the ra_syntax crate, I hope that fixes it.

@edwin0cheng
Copy link
Contributor

Thanks.
bors r+

bors bot added a commit that referenced this pull request Feb 12, 2020
3127: Support unnamed arguments in function pointers r=edwin0cheng a=hanmertens

Fixes #3089

Co-authored-by: Han Mertens <hanmertens@outlook.com>
@bors
Copy link
Contributor

bors bot commented Feb 12, 2020

Build succeeded

  • Rust (macos-latest)
  • Rust (ubuntu-latest)
  • Rust (windows-latest)
  • TypeScript

@bors bors bot merged commit bed9c08 into rust-lang:master Feb 12, 2020
@hanmertens hanmertens deleted the unnamed-argument-in-function-pointer branch February 12, 2020 22:34
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.

Unnamed argument in type alias parsed incorrectly

3 participants