-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Make the return type of Fn
trait an associated type
#21019
Make the return type of Fn
trait an associated type
#21019
Commits on Jan 28, 2015
-
Configuration menu - View commit details
-
Copy full SHA for c73a1d0 - Browse repository at this point
Copy the full SHA c73a1d0View commit details -
Add the notion of normalizing a parameter environment and ensure that
all parameter environments are normalized. Correspondingly, stop normalizing predicates we extract out of the environment. Fixes rust-lang#21664.
Configuration menu - View commit details
-
Copy full SHA for c61d788 - Browse repository at this point
Copy the full SHA c61d788View commit details -
Move return type an associated type of the
Fn*
traits. Mostly this ……involves tweaking things in the compiler that assumed two input types to assume two ouputs; we also have to teach `project.rs` to project `Output` from the unboxed closure and fn traits.
Configuration menu - View commit details
-
Copy full SHA for 07cdb85 - Browse repository at this point
Copy the full SHA 07cdb85View commit details -
Fix a latent bug in trait dispatch where we sometimes counted associa…
…ted types when constructing the vtable-index. Not good.
Configuration menu - View commit details
-
Copy full SHA for 006f3ea - Browse repository at this point
Copy the full SHA 006f3eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d68250 - Browse repository at this point
Copy the full SHA 7d68250View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25a2797 - Browse repository at this point
Copy the full SHA 25a2797View commit details -
Extract expectations from the projection obligation, which includes
all relevant information.
Configuration menu - View commit details
-
Copy full SHA for 47c2d31 - Browse repository at this point
Copy the full SHA 47c2d31View commit details -
Patch variance bug: appearing in a binding is an invariant position (…
…at least right now).
Configuration menu - View commit details
-
Copy full SHA for 7bd1911 - Browse repository at this point
Copy the full SHA 7bd1911View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac94ae5 - Browse repository at this point
Copy the full SHA ac94ae5View commit details -
Update test files; mostly the problem is that they were using the
explicit form `Fn<A,B>` and now should use `Fn(A) -> B` or `Fn<A,Output=B>`, but in some cases we get duplicate error reports. This is mildly annoying and arises because of the main error and another error from the projection. Might be worth squashing those, but seems like a separate problem.
Configuration menu - View commit details
-
Copy full SHA for 09783d1 - Browse repository at this point
Copy the full SHA 09783d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for aeeab35 - Browse repository at this point
Copy the full SHA aeeab35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 694432e - Browse repository at this point
Copy the full SHA 694432eView commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf3df3 - Browse repository at this point
Copy the full SHA aaf3df3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05ffdc5 - Browse repository at this point
Copy the full SHA 05ffdc5View commit details