-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Closure argument mismatch tweaks #47573
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
ArgKind::Tuple( | ||
span, | ||
args.iter().map(|pat| { | ||
let snippet = self.tcx.sess.codemap().span_to_snippet(pat.span).unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tidy error for line 810.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, there're a bunch of code I'm none too happy with, I'll clean it up as much as possible before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me once travis errors are fixed
ca99f6b
to
0ce008a
Compare
- use consistent phrasing for expected and found arguments - suggest changing arugments to tuple if possible - suggest changing single tuple argument to arguments if possible
@bors r=nikomatsakis |
📌 Commit 7ed00ca has been approved by |
@bors rollup |
Closure argument mismatch tweaks - use consistent phrasing for expected and found arguments - suggest changing arguments to tuple if possible - suggest changing single tuple argument to arguments if possible Fix rust-lang#44150.
Fix #44150.