-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup of 8 pull requests #70099
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rollup of 8 pull requests #70099
Conversation
It was unused.
Regions in TypeckTables will be erased, so are unusable for error reporting.
Also skip duplicated region solving entirely with `-Zborrowck=mir`.
keyword docs for else and inkeyword docs for else and in. First cut of else and in keyword docs. Comments and suggestions more than welcome.
…an-DPC clean up E0308 explanation r? @Dylan-DPC
…komatsakis Erase regions in writeback Regions in `TypeckTables` (except canonicalized user annotations) are now erased. Further, we no longer do lexical region solving on item bodies with `-Zborrowck=mir`. cc rust-lang#68261 r? @nikomatsakis
…nkov Don't unwind when hitting the macro expansion recursion limit This removes one use of `FatalError.raise()`. r? @petrochenkov
…andry Use smaller discriminants for generators Closes rust-lang#69815 I'm not yet sure about the runtime performance impact of this, so I'll try running this on some benchmarks (if I can find any). (Update: No impact on the benchmarks I've measured on) * [x] Add test with a generator that has exactly 256 total states * [x] Add test with a generator that has more than 256 states so that it needs to use a u16 discriminant * [x] Add tests for the size of `Option<[generator]>` * [x] Add tests for the `discriminant_value` intrinsic in all cases
…=oli-obk Make methods declared by `newtype_index` macro `const` Crates that use the macro to define an `Idx` type need to enable `#![feature(const_if_match, const_panic)]`.
Build dist-android with --enable-profiler This will make the runtime available to enable PGO for Rust code in Firefox on Android. r? @michaelwoerister
…petrochenkov Fix repr pretty display Fixes rust-lang#70027. r? @varkor
@bors r+ p=8 rollup=never |
📌 Commit ba83e55 has been approved by |
⌛ Testing commit ba83e55 with merge 12e620382049948a916afaf199bc213c6d307406... |
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 |
💔 Test failed - checks-azure |
Successful merges:
newtype_index
macroconst
#69899 (Make methods declared bynewtype_index
macroconst
)Failed merges:
hir().find
to returnNone
#70051 (Allowhir().find
to returnNone
)r? @ghost