about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-05-27 13:38:32 +0200
committerGitHub <noreply@github.com>2023-05-27 13:38:32 +0200
commitcd8132bfabf6cbf42ae4903a59fcadbae4b6d41a (patch)
tree2f9f41fac5897002d594c7d00e0b2df672fd19b5 /compiler/rustc_errors/src/snippet.rs
parentb2abb2b0567155042e72ad0b32b01b64aba40ab8 (diff)
parentc4e8a86d9ee6b83bacadd3983122e56c323fd7b2 (diff)
downloadrust-cd8132bfabf6cbf42ae4903a59fcadbae4b6d41a.tar.gz
rust-cd8132bfabf6cbf42ae4903a59fcadbae4b6d41a.zip
Rollup merge of #111983 - compiler-errors:type-op-locally, r=lcnr
Perform MIR type ops locally in new solver

The new solver already does caching, and it's generally more correct to be using the infcx of the MIR typeck (which has the defining anchor set correctly and has already initialized all the opaques from HIR typeck).

This is based on #111918 so look at the final 3 commits.

This actually causes some tests to go from passing to failing, and failing to passing. Here's the full diff: https://www.diffchecker.com/hB4bh1A9/

Putting this up for exposure mostly.

r? `@lcnr`
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions