-
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
[beta]: Prepare the 1.31.0 beta release #55405
Commits on Oct 29, 2018
-
[beta]: Prepare the 1.31.0 stable release
* Update to Cargo's branched 1.31.0 branch * Update bootstrap compiler to stable 1.30.0 * Update the channel to `beta`
Configuration menu - View commit details
-
Copy full SHA for a330092 - Browse repository at this point
Copy the full SHA a330092View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2404f5e - Browse repository at this point
Copy the full SHA 2404f5eView commit details -
We're gonna link to nightly as this didn't make it into the corresponding stable.
Configuration menu - View commit details
-
Copy full SHA for 481bd16 - Browse repository at this point
Copy the full SHA 481bd16View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff0605a - Browse repository at this point
Copy the full SHA ff0605aView commit details -
This commit reduces the size of `Statement` from 80 bytes to 56 bytes on 64-bit platforms, by boxing the `AscribeUserType` variant of `StatementKind`. This change reduces instruction counts on most benchmarks by 1--3%.
Configuration menu - View commit details
-
Copy full SHA for 87f4ad1 - Browse repository at this point
Copy the full SHA 87f4ad1View commit details -
Remove
PlaceContext
from API ofmir::Visitor::visit_projection_elem
.It is unused, and would not make sense to maintain in the commits later in this PR.
Configuration menu - View commit details
-
Copy full SHA for dc4e0bd - Browse repository at this point
Copy the full SHA dc4e0bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bb7999 - Browse repository at this point
Copy the full SHA 3bb7999View commit details -
Refactoring: added
PatternTypeAnnotation
wrapper around `UserTypeAn……notation` to ease future changes.
Configuration menu - View commit details
-
Copy full SHA for 8a15d7b - Browse repository at this point
Copy the full SHA 8a15d7bView commit details -
Added
mir::UserTypeProjection
, a stub for a structure that projects…… *into* a given UserTypeAnnotation. (That is, it will pull out some component type held or referenced by the type annotation.) Note: this still needs to actually do projection itself. That comes in a later commit
Configuration menu - View commit details
-
Copy full SHA for f279d8a - Browse repository at this point
Copy the full SHA f279d8aView commit details -
Checkpoint: Added abstraction over collection of projections into use…
…r type. I did not think I would need this in the MIR, but in general local decls are going to need to support this. (That, or we need to be able define a least-upper-bound for a collection of types encountered via the pattern compilation.)
Configuration menu - View commit details
-
Copy full SHA for 83e6c3c - Browse repository at this point
Copy the full SHA 83e6c3cView commit details -
Add the actual chain of projections to
UserTypeProjection
.Update the existing NLL `patterns.rs` test accordingly. includes changes addressing review feedback: * Added example to docs for `UserTypeProjections` illustrating how we build up multiple projections when descending into a pattern with type ascriptions. * Adapted niko's suggested docs for `UserTypeProjection`. * Factored out `projection_ty` from more general `projection_ty_core` (as a drive-by, made its callback an `FnMut`, as I discovered later that I need that). * Add note to docs that `PlaceTy.field_ty(..)` does not normalize its result. * Normalize as we project out `field_ty`.
Configuration menu - View commit details
-
Copy full SHA for 8f94230 - Browse repository at this point
Copy the full SHA 8f94230View commit details -
Update mir-opt tests to reflect change to
AscribeUserType
to carry ……a `UserTypeProjection`.
Configuration menu - View commit details
-
Copy full SHA for fb68889 - Browse repository at this point
Copy the full SHA fb68889View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb0d49 - Browse repository at this point
Copy the full SHA 0cb0d49View commit details -
Add test for normalization during field-lookup on patterns with ascri…
…bed types. As a drive-by, also added test analogous to existing static_to_a_to_static_through_tuple, but now apply to a struct instead of a tuple.
Configuration menu - View commit details
-
Copy full SHA for ad3c607 - Browse repository at this point
Copy the full SHA ad3c607View commit details -
Add intern table for
List<ProjectionElem<'tcx, (), ()>>
.Also added alias `ProjectionKind<'tcx>` for `ProjectionElem<'tcx, (), ()>`.
Configuration menu - View commit details
-
Copy full SHA for 5a85bb6 - Browse repository at this point
Copy the full SHA 5a85bb6View commit details -
Further foundational stuff on
ProjectionKind
before I add it to `As……cribeUserType`.
Configuration menu - View commit details
-
Copy full SHA for 5e52b66 - Browse repository at this point
Copy the full SHA 5e52b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a1093b - Browse repository at this point
Copy the full SHA 7a1093bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66931a0 - Browse repository at this point
Copy the full SHA 66931a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b909534 - Browse repository at this point
Copy the full SHA b909534View commit details -
resolve: Absolute paths may be undetermined on 2018 edition
due to macro-expanded `extern crate` items adding names to extern prelude.
Configuration menu - View commit details
-
Copy full SHA for 8c65675 - Browse repository at this point
Copy the full SHA 8c65675View commit details -
Configuration menu - View commit details
-
Copy full SHA for feea133 - Browse repository at this point
Copy the full SHA feea133View commit details -
resolve: Make sure macros and imports are resolved in full parent scope
Slightly simplify `fn build_reduced_graph_for_use_tree`
Configuration menu - View commit details
-
Copy full SHA for 540d837 - Browse repository at this point
Copy the full SHA 540d837View commit details -
resolve: Desugar empty import groups into synthetic dummy imports
so that they are correctly resolved on 2018 edition
Configuration menu - View commit details
-
Copy full SHA for f7e7b3a - Browse repository at this point
Copy the full SHA f7e7b3aView commit details -
Fix ordering of nested modules in non-mod.rs mods
Flatten relative offset into directory path before adding inline (mod x { ... }) module names to the current directory path. Fix rust-lang#55094
Configuration menu - View commit details
-
Copy full SHA for f186dce - Browse repository at this point
Copy the full SHA f186dceView commit details -
Add note linking to Rust 2018 path semantics docs.
This commit extends existing path suggestions to link to documentation on the changed semantics of `use` in Rust 2018.
Configuration menu - View commit details
-
Copy full SHA for 1cc978d - Browse repository at this point
Copy the full SHA 1cc978dView commit details -
back out bogus
Ok
-wrapping suggestion on?
arm type mismatchThis suggestion was introduced in rust-lang#51938 / 6cc78bf (while introducing different language for type errors coming from `?` rather than a `match`), but it has a lot of false-positives (as repeatedly reported in Issues rust-lang#52537, rust-lang#52598, rust-lang#54578, rust-lang#55336), and incorrect suggestions carry more badness than marginal good suggestions do goodness. Just get rid of it (unless and until someone figures out how to do it correctly). Resolves rust-lang#52537, resolves rust-lang#54578.
Configuration menu - View commit details
-
Copy full SHA for 4b3b4d2 - Browse repository at this point
Copy the full SHA 4b3b4d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c81496 - Browse repository at this point
Copy the full SHA 7c81496View commit details