diff options
| author | Trevor Gross <tmgross@umich.edu> | 2023-07-04 04:05:44 -0400 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2023-07-04 05:00:46 -0400 |
| commit | 3c9a7491c2e2f54fa0ea59246c798017fcb8ce3f (patch) | |
| tree | d42fc78fbe8699b66006db468cd7bd324769eed0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0130c3a06e50ebb166655f81997ce28b9e4029b0 (diff) | |
| download | rust-3c9a7491c2e2f54fa0ea59246c798017fcb8ce3f.tar.gz rust-3c9a7491c2e2f54fa0ea59246c798017fcb8ce3f.zip | |
Add a test for `PartialEq` across `Allocator`s breaking inference (#113283)
Verify that `PartialEq` implementations do not break type inference when comparing types across different allocators. This catches a regression in current nightly introduced in 001b081cc1b (alloc: Allow comparing `Box`s over different allocators") `Box` is the only type that currently impelements this, but tests are included for `Rc` and `Arc` to prevent future regresssions.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
