Do not depend on typeck to borrow-check inline consts.#156064
Do not depend on typeck to borrow-check inline consts.#156064rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Do not depend on typeck to borrow-check inline consts.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (d7e530a): comparison URL. Overall result: no relevant changes - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 3.2%, secondary 0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.0%, secondary -0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 487.864s -> 483.909s (-0.81%) |
|
rustbot has assigned @dingxiangfei2009. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors r+ rollup=always |
Rollup merge of #156064 - cjgillot:borrowck-no-typeck, r=dingxiangfei2009 Do not depend on typeck to borrow-check inline consts. Instead fetch the type from the inline-const's MIR, which comes from exactly the same typeck information.
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#156074 (Add extra symbol check for `.to_owned()`) - rust-lang/rust#156045 (Move tests associated consts) - rust-lang/rust#156064 (Do not depend on typeck to borrow-check inline consts.) - rust-lang/rust#156083 (Move tests attributes)
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#156074 (Add extra symbol check for `.to_owned()`) - rust-lang/rust#156045 (Move tests associated consts) - rust-lang/rust#156064 (Do not depend on typeck to borrow-check inline consts.) - rust-lang/rust#156083 (Move tests attributes)
Instead fetch the type from the inline-const's MIR, which comes from exactly the same typeck information.