about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-05-01 16:52:54 -0400
committerAaron Hill <aa1ronham@gmail.com>2021-05-01 16:58:33 -0400
commit91daf705b442c8200985eb7f2e99784898844263 (patch)
tree0c4cae9f18442b6f2a6262fe6d4e63a561ab4676 /library/std/src/sys/unix/stack_overflow.rs
parent5f304a5d7908d9dd55dda3baadd3cf564d907369 (diff)
downloadrust-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