diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-03 16:20:26 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-04 06:56:37 +1000 |
| commit | 0aab10135dd3d4e43e44ba5c375f5fae382cae49 (patch) | |
| tree | 7f4fe4eace9f1317ab21abbb9ba4ab9f67d16b75 /compiler/rustc_parse/src/errors.rs | |
| parent | 7042c269c166191cd5d8daf0409890903df7af57 (diff) | |
| download | rust-0aab10135dd3d4e43e44ba5c375f5fae382cae49.tar.gz rust-0aab10135dd3d4e43e44ba5c375f5fae382cae49.zip | |
Merge `rustc_infer::infer::relate::{glb,lub}`.
Most of the code in these two modules is duplicated in the other module. This commit eliminates the duplication by replacing them with a new module `lattice_op`. The new `LatticeOpKind` enum is used to distinguish between glb and lub in the few places where the behaviour differs.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
