diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-05-01 16:52:54 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-05-01 16:58:33 -0400 |
| commit | 91daf705b442c8200985eb7f2e99784898844263 (patch) | |
| tree | 0c4cae9f18442b6f2a6262fe6d4e63a561ab4676 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 5f304a5d7908d9dd55dda3baadd3cf564d907369 (diff) | |
| download | rust-91daf705b442c8200985eb7f2e99784898844263.tar.gz rust-91daf705b442c8200985eb7f2e99784898844263.zip | |
Make `TypeFoldable::is_global()` false when fresh tys/consts are present
This ensures that `ParamEnv::and` preserves the original `caller_bounds` when we have a value containing fresh tys/consts. This ensures that when we cache a `SelectionCandidate`, the cache key (a `ParamEnvAnd`) contains all of the information that influenced the computation of our result (e.g. we may end up choosing a `ParamCandidate`)
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
