-
Notifications
You must be signed in to change notification settings - Fork 12.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
Permit T::Item
based on bounds that appear in where clauses
#22512
Permit T::Item
based on bounds that appear in where clauses
#22512
Commits on Feb 24, 2015
-
Change collect to implement
AstConv
on aItemCtxt
rather than aglobal context. Have this `ItemCtxt` carry a (currently unused) pointer to the in-scope generics.
Configuration menu - View commit details
-
Copy full SHA for e033a23 - Browse repository at this point
Copy the full SHA e033a23View commit details -
Convert
astconv
to request bounds through theAstConv
interfacerather than poking through the `TypeParameterDef` directly.
Configuration menu - View commit details
-
Copy full SHA for 15ef2c2 - Browse repository at this point
Copy the full SHA 15ef2c2View commit details -
Comprehence cycle detection in
collect
. In some cases, the cycles wereport are not *necessary* cycles, but we'll work on refactoring them over time. This overlaps with the cycle detection that astconv already does: I left that code in because it gives a more targeted error message, though perhaps less helpful in that it doesn't give the full details of the cycle.
Configuration menu - View commit details
-
Copy full SHA for 0d9e473 - Browse repository at this point
Copy the full SHA 0d9e473View commit details -
Rework the
get_type_parameter_bounds
impl to use a trait objectand act more generically.
Configuration menu - View commit details
-
Copy full SHA for 3c782b7 - Browse repository at this point
Copy the full SHA 3c782b7View commit details -
Remove bounds struct from TypeParameterDef. Bounds information is now
exclusively stored in the where clauses.
Configuration menu - View commit details
-
Copy full SHA for 36d0471 - Browse repository at this point
Copy the full SHA 36d0471View commit details -
Rework trait-bound-conversion so be based on the AST and rework collect
to pass in the appropriate ast::generics etc
Configuration menu - View commit details
-
Copy full SHA for cf73e36 - Browse repository at this point
Copy the full SHA cf73e36View commit details -
Add handy switch
-Z treat-err-as-bug
-- it often happens that I amcompiling something I expect to succeed, and this lets me get stacktraces and also abort compilation faster.
Configuration menu - View commit details
-
Copy full SHA for 31e09f7 - Browse repository at this point
Copy the full SHA 31e09f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb77fe9 - Browse repository at this point
Copy the full SHA eb77fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for abdb42b - Browse repository at this point
Copy the full SHA abdb42bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef3598 - Browse repository at this point
Copy the full SHA 1ef3598View commit details