diff options
| author | kennytm <kennytm@gmail.com> | 2017-10-10 20:08:23 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-10-10 22:44:02 +0800 |
| commit | 9effa73286686b297856cc7d1b84f32ecfab94c8 (patch) | |
| tree | 17adba78fe22f9491bfc8ff51065bc96bc522869 /src/test/incremental/thinlto | |
| parent | f2efa793f02e737c830256d32be39273f244fd51 (diff) | |
| parent | 3fff2d95bf90514e66892ca9be666c35eeae9165 (diff) | |
| download | rust-9effa73286686b297856cc7d1b84f32ecfab94c8.tar.gz rust-9effa73286686b297856cc7d1b84f32ecfab94c8.zip | |
Rollup merge of #45095 - bluss:discriminant-send-sync, r=alexcrichton
Ensure std::mem::Discriminant is Send + Sync `PhantomData<*const T>` has the implication of Send / Syncness following the *const T type, but the discriminant should always be Send and Sync. Use `PhantomData<fn() -> T>` which has the same variance in T, but is Send + Sync
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
