diff options
| author | Oli Scherer <github35764891676564198441@oli-obk.de> | 2021-07-28 18:59:25 +0000 |
|---|---|---|
| committer | Oli Scherer <github35764891676564198441@oli-obk.de> | 2021-08-06 10:39:08 +0000 |
| commit | 20371b94f62daa33c876adafeea266f9e8b8f222 (patch) | |
| tree | 6744e33dc15832f0b7f55bf193af76efeeaa2f5b /compiler/rustc_errors/src/snippet.rs | |
| parent | 816b9fc2d1d002824908c37ed043125c3031128d (diff) | |
| download | rust-20371b94f62daa33c876adafeea266f9e8b8f222.tar.gz rust-20371b94f62daa33c876adafeea266f9e8b8f222.zip | |
Immediately register new opaque types in the global list.
Previously each opaque type instantiation would create new inference vars, even for the same opaque type/substs combination. Now there is a global map in InferCtxt that gets filled whenever we encounter an opaque type.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
