]> git.lizzy.rs Git - rust.git/commit
Put a `ShallowResolver` within `OpportunisticVarResolver`.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 2 Feb 2023 22:00:56 +0000 (09:00 +1100)
committerNicholas Nethercote <n.nethercote@gmail.com>
Sun, 5 Feb 2023 21:50:48 +0000 (08:50 +1100)
commitbac7628eae905b0c806788914c9b7ee9409983de
treed77696828408e7650758bb3a75064cc8017cdeb2
parenta67649675014546ce454d65bc8fe3ebd18e6a319
Put a `ShallowResolver` within `OpportunisticVarResolver`.

So one doesn't have to be constructed every time.
compiler/rustc_infer/src/infer/resolve.rs