Repository navigation
Rename PostTypeckUntilBorrowck -> PostTypeckThroughBorrowck - #164307
rust-bors[bot] merged 2 commits into
Conversation
|
Some changes occurred to the CTFE machinery Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt
|
|
|
a7b6a3d to
03d489d
Compare
| // A non-defining use. This is a hard error on stable and gets ignored | ||
| // with `TypingMode::PostTypeckUntilBorrowck`. | ||
| // with `TypingMode::PostTypeckThroughBorrowck`. | ||
| if infcx.tcx.use_typing_mode_post_typeck_until_borrowck() { |
There was a problem hiding this comment.
probably this also needs renaming, as well as the -Z option?
There was a problem hiding this comment.
maybe easier to entirely yeet the -Z option, it only exists to also test stuff iwth the old solver and that has always been kinda broken and now with the next-solver stabilization, does not matter
|
Yea, the functions should also be renamed, and also be careful with comments |
03d489d to
71ee80a
Compare
|
Some changes occurred to constck cc @fee1-dead Some changes occurred in match checking cc @Nadrieril |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
I think I've now hit all of the locations 2cf8532. I found the locations using; grep -rinsI ./compiler -e 'until_borrowchk'
grep -rinsI ./compiler -e 'until borrow'
grep -rinsI ./compiler -e 'UntilBorrow'Then used |
|
Looks good, @bors r+ |
…uwer Rollup of 12 pull requests Successful merges: - #164458 (Avoid stdlib's `impl Hash for Path` for stable hashing) - #161790 (update to illumos sysroot 20210501) - #163087 (rmake: Add helpers for iterating symbols and objects) - #163586 (refactor Windows remove_dir_all) - #163983 (std: use `SOCK_NONBLOCK` in `connect_timeout`) - #164307 (Rename `PostTypeckUntilBorrowck` -> `PostTypeckThroughBorrowck`) - #164425 (Declare `SyntaxContext` through `rustc_index::newtype_index!`) - #156841 (Avoid cloning CFG-related analysis data.) - #164654 (Add reference annotations for unions) - #164717 (Allow `llm-assisted` label to be set without write access) - #164735 (Remove docs mentioning instability of wasm64) - #164737 (Update LLVM PassBuilder constructor calls to pass a context) Failed merges: - #164636 (Remove `record_*` macros from the metadata encoder)
…uwer Rollup of 12 pull requests Successful merges: - #164458 (Avoid stdlib's `impl Hash for Path` for stable hashing) - #161790 (update to illumos sysroot 20210501) - #163087 (rmake: Add helpers for iterating symbols and objects) - #163586 (refactor Windows remove_dir_all) - #163983 (std: use `SOCK_NONBLOCK` in `connect_timeout`) - #164307 (Rename `PostTypeckUntilBorrowck` -> `PostTypeckThroughBorrowck`) - #164425 (Declare `SyntaxContext` through `rustc_index::newtype_index!`) - #156841 (Avoid cloning CFG-related analysis data.) - #164654 (Add reference annotations for unions) - #164717 (Allow `llm-assisted` label to be set without write access) - #164735 (Remove docs mentioning instability of wasm64) - #164737 (Update LLVM PassBuilder constructor calls to pass a context) Failed merges: - #164636 (Remove `record_*` macros from the metadata encoder)
…uwer Rollup of 12 pull requests Successful merges: - #164458 (Avoid stdlib's `impl Hash for Path` for stable hashing) - #161790 (update to illumos sysroot 20210501) - #163087 (rmake: Add helpers for iterating symbols and objects) - #163586 (refactor Windows remove_dir_all) - #163983 (std: use `SOCK_NONBLOCK` in `connect_timeout`) - #164307 (Rename `PostTypeckUntilBorrowck` -> `PostTypeckThroughBorrowck`) - #164425 (Declare `SyntaxContext` through `rustc_index::newtype_index!`) - #156841 (Avoid cloning CFG-related analysis data.) - #164654 (Add reference annotations for unions) - #164717 (Allow `llm-assisted` label to be set without write access) - #164735 (Remove docs mentioning instability of wasm64) - #164737 (Update LLVM PassBuilder constructor calls to pass a context) Failed merges: - #164636 (Remove `record_*` macros from the metadata encoder)
Rollup merge of #164307 - Jamesbarford:chore/PostTypeckUntilBorrowck-rename, r=jdonszelmann Rename `PostTypeckUntilBorrowck` -> `PostTypeckThroughBorrowck` This was a rename suggested in the following [Zulip thread](https://rust-lang.zulipchat.com/#narrow/channel/618216-t-types.2Fcall-for-participation/topic/rename.20.60TypingMode.3A.3APostTypeckThroughBorrowck.60/with/624384207) r? jdonszelmann
This was a rename suggested in the following Zulip thread
r? jdonszelmann