diff options
| author | David Wood <david@davidtw.co> | 2020-07-24 13:16:54 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-07-31 16:36:42 +0100 |
| commit | 59e621c1969fb03c5d367e9c713c0279461e772f (patch) | |
| tree | 2aba75a6bbc444eb92d3b1c54153646a2ac2b1c6 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 0820e54a8ad7795d7b555b37994f43cfe62356d4 (diff) | |
| download | rust-59e621c1969fb03c5d367e9c713c0279461e772f.tar.gz rust-59e621c1969fb03c5d367e9c713c0279461e772f.zip | |
interp: needs_subst -> ensure_monomorphic_enough
This commit adds a `ensure_monomorphic_enough` utility function which checks whether a type needs substitution, but only for parameters that the `unused_generic_params` query considers used. `ensure_monomorphic_enough` is then used throughout interpret where `needs_subst` checks previously existed (in particular, for some pointer casts and for reflection intrinsics more precise). Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
