diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-02-03 10:15:24 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-02-06 08:52:04 +1100 |
| commit | f08a3371b01f6d6b01bf351f28bf0fbba2bd1b87 (patch) | |
| tree | 2744a1db2c031b8f8b9768dc4a3f2cde8c448c65 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | bac7628eae905b0c806788914c9b7ee9409983de (diff) | |
| download | rust-f08a3371b01f6d6b01bf351f28bf0fbba2bd1b87.tar.gz rust-f08a3371b01f6d6b01bf351f28bf0fbba2bd1b87.zip | |
Improve early bailout test in `resolve_vars_if_possible`.
`!t.has_non_region_infer()` is the test used in `OpportunisticVarResolver`, and catches a few cases that `!t.needs_infer()` misses.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
