about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-08 15:57:12 +0000
committerbors <bors@rust-lang.org>2020-08-08 15:57:12 +0000
commit3f091baba4fa656adb4c1a57b64aa831002d801d (patch)
treec2ada61f21cdbd927ef33d71d7608e40074e7e2a /src/test/rustdoc-ui/coverage/json.rs
parent2bac92bba14f3b260b337d2a51c77c0780456e65 (diff)
parentd97f89b1a6add41b6ac3c0d69cbe82d15483a0d6 (diff)
downloadrust-3f091baba4fa656adb4c1a57b64aa831002d801d.tar.gz
rust-3f091baba4fa656adb4c1a57b64aa831002d801d.zip
Auto merge of #75260 - davidtwco:polymorphization-promoted-substs, r=lcnr
polymorphize: unevaluated constants

This PR makes polymorphization visit the promoted MIR of unevaluated constants with available promoted MIR instead of visiting the substitutions of that constant - which will mark all of the generic parameters as used; in addition polymorphization will now visit non-promoted unevaluated constants rather than visit their substs.

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