-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixing eta with respect to lazy evaluation. #4190
Conversation
Oops. I did not see you were working on this and did (mostly) the same thing. |
Oh, I didn't notice that you did it too. Well, I don't mind whose PR gets merged in, as long as the problem is fixed. I can close this one, if you like. |
Travis failure looks like a bug in -fn make_lazy(f: fn() -> fn(u8) -> u8) -> impl Fn(u8) -> u8 {
+fn make_lazy(f: fn() -> fn(u8) -> fn(u8) -> u8) -> impl Fn(u8) -> u8 { |
I think you're right, opened rust-lang/rustfmt#3615 to track it. There's a workaround, though: changing type of |
Thanks! @bors r+ |
📌 Commit 41a4ce5 has been approved by |
Fixing eta with respect to lazy evaluation. This fixes #4187 changelog: `redundant_closure`: stop linting on expressions returning a function, which is then directly used by the closure
☀️ Test successful - checks-travis, status-appveyor |
This fixes #4187
changelog:
redundant_closure
: stop linting on expressions returning a function, which is then directly used by the closure