rust/tests/ui/type-inference
Trevor Gross 3c9a7491c2 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 001b081cc1 (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.
2023-07-04 05:00:46 -04:00
..
issue-30225.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30225.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-113283-alllocator-trait-eq.rs Add a test for `PartialEq` across `Allocator`s breaking inference (#113283) 2023-07-04 05:00:46 -04:00
or_else-multiple-type-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
or_else-multiple-type-params.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sort_by_key.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sort_by_key.stderr diagnostics: update test cases to refer to assoc fn with `self` as method 2023-02-22 08:40:47 -07:00
unbounded-associated-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-associated-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-type-param-in-fn-with-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-type-param-in-fn-with-assoc-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-type-param-in-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unbounded-type-param-in-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00