diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-18 18:06:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-18 18:06:38 +0100 |
| commit | 25ea20dfeb79379a5624388a9a0608434f3fdc78 (patch) | |
| tree | 7165063b9313f557d4774882ecee8cdef1313795 /src/rustllvm/RustWrapper.cpp | |
| parent | b0563fdb443fa0eefeb9e2a27f351e7e485df058 (diff) | |
| parent | fefe1dacb6255304dab5c13fb669b1d9d40f9e03 (diff) | |
| download | rust-25ea20dfeb79379a5624388a9a0608434f3fdc78.tar.gz rust-25ea20dfeb79379a5624388a9a0608434f3fdc78.zip | |
Rollup merge of #57685 - pthariensflame:enhancement/pin-impl-applicability, r=withoutboats
Enhance `Pin` impl applicability for `PartialEq` and `PartialOrd`. This allows for comparing for equality or ordering a `Pin<P>` and a `Pin<Q>` as long as `P` and `Q` are correspondingly comparable themselves *even when `P` and `Q` are different types*. An example might be comparing a `Pin<&mut OsString>` to a `Pin<&mut PathBuf>`, which might arise from pin projections from a pair of larger contexts that aren't `Unpin`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
