-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 7 pull requests #63627
Rollup of 7 pull requests #63627
Commits on Aug 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0b713ae - Browse repository at this point
Copy the full SHA 0b713aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e019de - Browse repository at this point
Copy the full SHA 5e019deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9805846 - Browse repository at this point
Copy the full SHA 9805846View commit details -
Configuration menu - View commit details
-
Copy full SHA for 039c789 - Browse repository at this point
Copy the full SHA 039c789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01e96dc - Browse repository at this point
Copy the full SHA 01e96dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0741441 - Browse repository at this point
Copy the full SHA 0741441View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88398a4 - Browse repository at this point
Copy the full SHA 88398a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9287eb6 - Browse repository at this point
Copy the full SHA 9287eb6View commit details
Commits on Aug 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f54503c - Browse repository at this point
Copy the full SHA f54503cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f036fae - Browse repository at this point
Copy the full SHA f036faeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98325eb - Browse repository at this point
Copy the full SHA 98325ebView commit details -
Fixing broken tests rust-lang#62401
The grouping led to a lot of `mv`. Therefore, some relative paths were wrong. In this commit the dependent files were also moved so that the paths work again.
Configuration menu - View commit details
-
Copy full SHA for cac53fe - Browse repository at this point
Copy the full SHA cac53feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5941acd - Browse repository at this point
Copy the full SHA 5941acdView commit details -
Configuration menu - View commit details
-
Copy full SHA for df713dd - Browse repository at this point
Copy the full SHA df713ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for a90d087 - Browse repository at this point
Copy the full SHA a90d087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a8ff5b - Browse repository at this point
Copy the full SHA 4a8ff5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ee99e - Browse repository at this point
Copy the full SHA 26ee99eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfcbe75 - Browse repository at this point
Copy the full SHA dfcbe75View commit details -
syntax_pos:
NO_EXPANSION
/SyntaxContext::empty()
-> `SyntaxContext……::root()` For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context
Configuration menu - View commit details
-
Copy full SHA for 67d6ce4 - Browse repository at this point
Copy the full SHA 67d6ce4View commit details -
Ident::with_empty_ctxt
->Ident::with_dummy_span
`Ident` has had a full span rather than just a `SyntaxContext` for a long time now.
Configuration menu - View commit details
-
Copy full SHA for 6cb28b6 - Browse repository at this point
Copy the full SHA 6cb28b6View commit details -
hygiene: Remove
Option
s from functions returningExpnInfo
The expansion info is not optional and should always exist
Configuration menu - View commit details
-
Copy full SHA for 73dee25 - Browse repository at this point
Copy the full SHA 73dee25View commit details -
resolve: Move macro resolution traces from
Module
s toResolver
Traces already contain module info without that. It's easy to forget to call `finalize_*` on a module. In particular, macros enum and trait modules weren't finalized. By happy accident macros weren't placed into those modules until now.
Configuration menu - View commit details
-
Copy full SHA for 23b82c3 - Browse repository at this point
Copy the full SHA 23b82c3View commit details -
resolve: Do not "normalize away" trait/enum modules prematurely
The previous approach was brittle - what would happen if `ParentScope` wasn't created by `invoc_parent_scope`? That's exactly the case for various uses of `ParentScope` in diagnostics and in built-in attribute validation.
Configuration menu - View commit details
-
Copy full SHA for cfbb60b - Browse repository at this point
Copy the full SHA cfbb60bView commit details -
resolve: Add
ParentScope::default
, eliminatedummy_parent_scope
Remove some unnecessary parameters from functions
Configuration menu - View commit details
-
Copy full SHA for 1a1557c - Browse repository at this point
Copy the full SHA 1a1557cView commit details -
resolve: Eliminate
InvocationData
It was very similar to `ParentScope` and mostly could be replaced by it.
Configuration menu - View commit details
-
Copy full SHA for 59dd07a - Browse repository at this point
Copy the full SHA 59dd07aView commit details -
resolve: Make
ParentScope
Copy
By allocating its derive paths on the resolver arena.
Configuration menu - View commit details
-
Copy full SHA for ea68bc8 - Browse repository at this point
Copy the full SHA ea68bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 310ee4d - Browse repository at this point
Copy the full SHA 310ee4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aca1353 - Browse repository at this point
Copy the full SHA aca1353View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a44773 - Browse repository at this point
Copy the full SHA 1a44773View commit details -
syntax_pos: Remove the duplicate global edition
It was introduced to avoid going through `hygiene_data`, but now it's read only once, when `ParseSess` is created, so going through a lock is ok.
Configuration menu - View commit details
-
Copy full SHA for 74190a5 - Browse repository at this point
Copy the full SHA 74190a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 650f19a - Browse repository at this point
Copy the full SHA 650f19aView commit details -
For naming consistency with everything else in this area
Configuration menu - View commit details
-
Copy full SHA for 136db22 - Browse repository at this point
Copy the full SHA 136db22View commit details -
Configuration menu - View commit details
-
Copy full SHA for c762773 - Browse repository at this point
Copy the full SHA c762773View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf1efb - Browse repository at this point
Copy the full SHA fbf1efbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e046a7a - Browse repository at this point
Copy the full SHA e046a7aView commit details
Commits on Aug 16, 2019
-
Rollup merge of rust-lang#62593 - kper:cleanup_abi, r=Centril
Group all ABI tests. r? @eddyb Closes rust-lang#62401
Configuration menu - View commit details
-
Copy full SHA for 100a02a - Browse repository at this point
Copy the full SHA 100a02aView commit details -
Rollup merge of rust-lang#63173 - malbarbo:musl-libunwind, r=alexcric…
…hton Use libunwind from llvm-project submodule for musl targets This avoid downloading libunwind by using the scheme introduced in rust-lang#61544
Configuration menu - View commit details
-
Copy full SHA for 32c1005 - Browse repository at this point
Copy the full SHA 32c1005View commit details -
Rollup merge of rust-lang#63535 - petrochenkov:expndata, r=matthewjasper
Continue refactoring resolve and hygiene The general goal is addressing FIXMEs from the previous PRs. Merging similar data structures (+ prerequisites for such merging), accounting for the fact that all `ExpnId`s have associated data in `HygieneData` now (less `Option`s). Also, some renaming. This should be the last renaming session in this area, I think. r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 6e9e6ea - Browse repository at this point
Copy the full SHA 6e9e6eaView commit details -
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Suggest Rust 2018 on `<expr>.await` with no such field When type checking a field projection (`fn check_field`) to `<expr>.await` where `<expr>: τ` and `τ` is not a primitive type, suggest switching to Rust 2018. E.g. ``` error[E0609]: no field `await` on type `std::pin::Pin<&mut dyn std::future::Future<Output = ()>>` --> $DIR/suggest-switching-edition-on-await.rs:31:7 | LL | x.await; | ^^^^^ unknown field | = note: to `.await` a `Future`, switch to Rust 2018 = help: set `edition = "2018"` in `Cargo.toml` = note: for more on editions, read https://doc.rust-lang.org/edition-guide ``` Fixes rust-lang#63533 This PR also performs some preparatory cleanups in `fn check_field`; the last 2 commits are where the suggestion is introduced and tested respectively. r? @varkor
Configuration menu - View commit details
-
Copy full SHA for d9a429a - Browse repository at this point
Copy the full SHA d9a429aView commit details -
Rollup merge of rust-lang#63584 - Centril:cleanup-core-with-more-atb,…
… r=alexreg libcore: more cleanups using `#![feature(associated_type_bounds)]` Turns out this was indeed a bootstrapping issue from a test with `./x.py check` locally after rust-lang#63534 merged. Closes rust-lang#63393 r? @alexreg cc @iluuu1994 cc rust-lang#52662
Configuration menu - View commit details
-
Copy full SHA for 7dbd98f - Browse repository at this point
Copy the full SHA 7dbd98fView commit details -
Rollup merge of rust-lang#63612 - estebank:macro-sugg-try-into, r=Cen…
…tril Do not suggest `try_into` for base types inside of macro expansions
Configuration menu - View commit details
-
Copy full SHA for 8958e50 - Browse repository at this point
Copy the full SHA 8958e50View commit details -
Rollup merge of rust-lang#63615 - jens1o:patch-1, r=jonas-schievink
Fix typo in DoubleEndedIterator::nth_back doc
Configuration menu - View commit details
-
Copy full SHA for 0bd3a85 - Browse repository at this point
Copy the full SHA 0bd3a85View commit details