-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Blanket impls for &F
/&mut F
where F: Fn
/F:FnMut
respectively
#23895
Blanket impls for &F
/&mut F
where F: Fn
/F:FnMut
respectively
#23895
Commits on Mar 31, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 0939837 - Browse repository at this point
Copy the full SHA 0939837View commit details -
Combine
try
andcommit_if_ok
and make some details of inferencecontext private.
Configuration menu - View commit details
-
Copy full SHA for 4b0edb9 - Browse repository at this point
Copy the full SHA 4b0edb9View commit details -
Refactor unification interface by moving the methods off of inferctxt…
… and onto the `UnificationTable`, and renaming/collapsing some methods.
Configuration menu - View commit details
-
Copy full SHA for 7c62640 - Browse repository at this point
Copy the full SHA 7c62640View commit details -
Configuration menu - View commit details
-
Copy full SHA for c581840 - Browse repository at this point
Copy the full SHA c581840View commit details -
Extract more
ty
andinfer
dependencies from the unification engineso that it is closer to standalone.
Configuration menu - View commit details
-
Copy full SHA for a6d9930 - Browse repository at this point
Copy the full SHA a6d9930View commit details -
Configuration menu - View commit details
-
Copy full SHA for e78550b - Browse repository at this point
Copy the full SHA e78550bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e301d7c - Browse repository at this point
Copy the full SHA e301d7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8403b82 - Browse repository at this point
Copy the full SHA 8403b82View commit details -
Add a "match" relation that can be used to make recursion check during
trait matching more tailored. We now detect recursion where the obligations "match" -- meaning basically that they are the same for some substitution of any unbound type variables.
Configuration menu - View commit details
-
Copy full SHA for cead47c - Browse repository at this point
Copy the full SHA cead47cView commit details -
A very simple hack to force an autoderef if the callee has type `&mut
F`, so that if we have `x: &mut FnMut()`, then `x()` is translated to `FnMut::call_mut(&mut *x, ())` rather than `&mut x`. The latter would require `mut x: &mut FnMut()`, which is really a lot of mut. (Actually, the `mut` is normally required except for the special case of a `&mut F` reference, because that's the one case where we distinguish a unique path like `x` from a mutable path.)
Configuration menu - View commit details
-
Copy full SHA for cdb10b8 - Browse repository at this point
Copy the full SHA cdb10b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27b7841 - Browse repository at this point
Copy the full SHA 27b7841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11111bb - Browse repository at this point
Copy the full SHA 11111bbView commit details