-
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
[beta] Rollup backports #57305
Merged
Merged
[beta] Rollup backports #57305
Commits on Jan 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6ce64cc - Browse repository at this point
Copy the full SHA 6ce64ccView commit details
Commits on Jan 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6cd7fb7 - Browse repository at this point
Copy the full SHA 6cd7fb7View commit details -
[beta] Update RLS to include 100% CPU on hover bugfix
Beta backport of a fix that already was backported to stable, see rust-lang#56726 and rust-lang/rls#1170 for the underlying RLS issue. Also includes the fix for rust-lang/rls#1154 (respecting target-dir specified in .cargo/config for RLS artifacts).
Configuration menu - View commit details
-
Copy full SHA for 4c4ea59 - Browse repository at this point
Copy the full SHA 4c4ea59View commit details -
Fix alignment for array indexing
We need to reduce the alignment with the used offset. If the offset isn't known, we need to reduce with the element size to support arbitrary offsets.
Configuration menu - View commit details
-
Copy full SHA for f493744 - Browse repository at this point
Copy the full SHA f493744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57009e7 - Browse repository at this point
Copy the full SHA 57009e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 073aa85 - Browse repository at this point
Copy the full SHA 073aa85View commit details -
Configuration menu - View commit details
-
Copy full SHA for e682333 - Browse repository at this point
Copy the full SHA e682333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00dc29b - Browse repository at this point
Copy the full SHA 00dc29bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2c8d54 - Browse repository at this point
Copy the full SHA a2c8d54View commit details -
Configuration menu - View commit details
-
Copy full SHA for deb784a - Browse repository at this point
Copy the full SHA deb784aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c1812b - Browse repository at this point
Copy the full SHA 4c1812bView commit details -
Ensure that Rusdoc discovers all necessary auto trait bounds
Fixes rust-lang#50159 This commit makes several improvements to AutoTraitFinder: * Call infcx.resolve_type_vars_if_possible before processing new predicates. This ensures that we eliminate inference variables wherever possible. * Process all nested obligations we get from a vtable, not just ones with depth=1. * The 'depth=1' check was a hack to work around issues processing certain predicates. The other changes in this commit allow us to properly process all predicates that we encounter, so the check is no longer necessary, * Ensure that we only display predicates *without* inference variables to the user, and only attempt to unify predicates that *have* an inference variable as their type. Additionally, the internal helper method is_of_param now operates directly on a type, rather than taking a Substs. This allows us to use the 'self_ty' method, rather than directly dealing with Substs.
Configuration menu - View commit details
-
Copy full SHA for ebf5232 - Browse repository at this point
Copy the full SHA ebf5232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 496c674 - Browse repository at this point
Copy the full SHA 496c674View commit details -
Filter out self-referential projection predicates
If we end up with a projection predicate that equates a type with itself (e.g. <T as MyType>::Value == <T as MyType>::Value), we can run into issues if we try to add it to our ParamEnv.
Configuration menu - View commit details
-
Copy full SHA for 34f2e57 - Browse repository at this point
Copy the full SHA 34f2e57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0deac - Browse repository at this point
Copy the full SHA 9d0deacView commit details -
Call poly_project_and_unify_type on types that contain inference types
Commit f57247c (Ensure that Rusdoc discovers all necessary auto trait bounds) added a check to ensure that we only attempt to unify a projection predicatre with inference variables. However, the check it added was too strict - instead of checking that a type *contains* an inference variable (e.g. '&_', 'MyType<_>'), it required the type to *be* an inference variable (i.e. only '_' would match). This commit relaxes the check to use 'ty.has_infer_types', ensuring that we perform unification wherever possible. Fixes rust-lang#56822
Configuration menu - View commit details
-
Copy full SHA for 443165d - Browse repository at this point
Copy the full SHA 443165dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.