about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-15 12:46:02 +0100
committerGitHub <noreply@github.com>2022-12-15 12:46:02 +0100
commit6cdc83b64e660356f7171b96125304ae91e1c29b (patch)
tree0a1a8b40e8b84fbe260f4977d000091d82a6386e /src/test/rustdoc-ui/coverage/enum-tuple.rs
parent78cf8cc02e26b20e8d76a7a2557defd6072dda1c (diff)
parenta5beb7abb9da221f73e839f555835c36716e3015 (diff)
downloadrust-6cdc83b64e660356f7171b96125304ae91e1c29b.tar.gz
rust-6cdc83b64e660356f7171b96125304ae91e1c29b.zip
Rollup merge of #105683 - JakobDegen:dest-prop-storage, r=tmiasko
Various cleanups to dest prop

This makes fixing the issues identified in #105577 easier. A couple changes

 - Use an enum with names instead of a bool
 - Only call `remove_candidates_if` from one place instead of two. Doing it from two places is far too fragile, since any divergence in the behavior between those callsites is likely to be unsound.
 - Remove `is_constant`. Right now we only merge locals, so this doesn't do anything, and the logic would be wrong if it did.

r? `@tmiasko`
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions