diff options
| author | bors <bors@rust-lang.org> | 2020-08-01 02:48:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-01 02:48:34 +0000 |
| commit | 22e6099330cde0e7b1529774fe27874f8326de7a (patch) | |
| tree | 64aab0e950abc22324e65bee68b7f36e44bc2824 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b544b43b10fa64f2f09e7e265a2bb7c624535c8e (diff) | |
| parent | 59e621c1969fb03c5d367e9c713c0279461e772f (diff) | |
| download | rust-22e6099330cde0e7b1529774fe27874f8326de7a.tar.gz rust-22e6099330cde0e7b1529774fe27874f8326de7a.zip | |
Auto merge of #74717 - davidtwco:issue-74636-polymorphized-closures-inherited-params, r=oli-obk
mir: add `used_generic_parameters_needs_subst` Fixes #74636. This PR adds a `used_generic_parameters_needs_subst` helper function which checks whether a type needs substitution, but only for parameters that the `unused_generic_params` query considers used. This is used in the MIR interpreter to make the check for some pointer casts and for reflection intrinsics more precise. I've opened this as a draft PR because this might not be the approach we want to fix this issue and we have to decide what to do about the reflection case. r? @eddyb cc @lcnr @wesleywiser
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
