diff options
| author | kennytm <kennytm@gmail.com> | 2018-11-13 13:03:10 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-11-13 19:20:30 +0800 |
| commit | f73df10c3912a82849b05a6338a94a10732a4882 (patch) | |
| tree | d780064adeecab75e4d44a2959e318d84a19bb15 /src/rustllvm/RustWrapper.cpp | |
| parent | 98bc7d63fbc78643532853db3cb289bacc86167c (diff) | |
| parent | 5e7b7f2ae6f29e66c99b6c38d7041fb71e8a36fd (diff) | |
| download | rust-f73df10c3912a82849b05a6338a94a10732a4882.tar.gz rust-f73df10c3912a82849b05a6338a94a10732a4882.zip | |
Rollup merge of #55837 - Centril:spökdata-skall-vara-strukturellt-matchbar, r=eddyb
Make PhantomData #[structural_match] fixes https://github.com/rust-lang/rust/issues/55028 This makes `PhantomData<T>` structurally matchable, irrespective of whether `T` is, per the discussion on this week's language team meeting (the general consensus was that this was a bug-fix). All types containing `PhantomData<T>` and which used `#[derive(PartialEq, Eq)]` and were previously not `#[structural_match]` only because of `PhantomData<T>` will now be `#[structural_match]`. r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
