diff options
| author | bors <bors@rust-lang.org> | 2015-05-28 21:48:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-28 21:48:40 +0000 |
| commit | 53941be9814f05496b3147da393c639a9d48957e (patch) | |
| tree | 656a5ed0e798a67558b18d57ff4560b3a74d6a1e /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | efebe45cc0f3265ee8bb6396952e93a2004128c8 (diff) | |
| parent | bbf8ba7c2351caba1b585346e5709f8eb476f169 (diff) | |
| download | rust-53941be9814f05496b3147da393c639a9d48957e.tar.gz rust-53941be9814f05496b3147da393c639a9d48957e.zip | |
Auto merge of #25744 - SimonSapin:cell-eq, r=alexcrichton
`core::cell::Cell<T>` and `core::cell::RefCell<T>` currently implement `PartialEq` when `T` does, and just defer to comparing `T` values. There is no reason the same shouldn’t apply to `Eq`. This enables `#[derive(Eq, PartialEq)]` on e.g. structs that have a `RefCell` field. r? @alexcrichton I’m unsure what to do with `#[stable]` attributes on `impl`s. `impl`s generated by `#[derive]` don’t have them.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
