about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2017-10-07 21:33:36 +0200
committerUlrik Sverdrup <bluss@users.noreply.github.com>2017-10-08 01:09:55 +0200
commit3fff2d95bf90514e66892ca9be666c35eeae9165 (patch)
tree51c40561542c0e085dea45a93c5198eb2fe9f3ef /src/test/incremental/thinlto
parent2146c613d12de8dc44bc26e50af55251fc7e4f9c (diff)
downloadrust-3fff2d95bf90514e66892ca9be666c35eeae9165.tar.gz
rust-3fff2d95bf90514e66892ca9be666c35eeae9165.zip
core: 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