-
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 6 pull requests #60844
Rollup of 6 pull requests #60844
Conversation
We only used a bunch of fields when tokenizing into a token tree, so let's move them out of the base lexer
See https://github.com/rust-lang/rust/pull/50838/files#r283296243 for explanation how jointness checking works with *next* pair
Also give arms the correct lint scope in MIR.
I was incorrectly under the impression that this would only lead to duplicates. See `mir-opt/match-arm-scope.rs` (upcomming commit) for a case where we didn't emit a fake borrow of `items.1`.
This ensures that we will correctly generate a storage-dead if the initializing expression diverges.
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
measureme@0.3 adds a version header to the binary file format which will help reduce tool breakage in the future.
Cleanup (pretty) printing of `ty::Const` r? @eddyb addresses https://github.com/rust-lang/rust/pull/59178/files/5cd28066214a4a255bac6655c20bf05cb95730fd#r266243236 and https://github.com/rust-lang/rust/pull/59178/files/5cd28066214a4a255bac6655c20bf05cb95730fd#r266243336
… r=pnkfelix Add match arm scopes and other scope fixes * Add drop and lint scopes for match arms. * Lint attributes are now respected on match arms. * Make sure we emit a StorageDead if we diverge when initializing a temporary. * Adjust MIR pretty printing of scopes for locals. * Don't generate duplicate lint scopes for `let statements`. * Add some previously missing fake borrows for matches. closes rust-lang#46525 cc @rust-lang/compiler
… r=eddyb refactor some `FnType` stuff to `rustc::ty::layout` Does work in the direction of rust-lang#56166.
Move token tree related lexer state to a separate struct Just a types-based refactoring. We only used a bunch of fields when tokenizing into a token tree, so let's move them out of the base lexer
Bump measureme dependency to 0.3 measureme@0.3 adds a version header to the binary file format which will help reduce tool breakage in the future.
CMake: Do not print installation messages for up-to-date files Closes rust-lang#60830
@bors r+ p=6 rollup=never |
📌 Commit 566f4a9 has been approved by |
⌛ Testing commit 566f4a9 with merge 23e9d457446d98bb3c1ab292442da4bb2077dbfe... |
💔 Test failed - checks-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Successful merges:
ty::Const
#59276 (Cleanup (pretty) printing ofty::Const
)FnType
stuff torustc::ty::layout
#60693 (refactor someFnType
stuff torustc::ty::layout
)Failed merges:
Symbol
more in lint APIs #60827 (UseSymbol
more in lint APIs)r? @ghost