diff options
| author | kadmin <julianknodt@gmail.com> | 2022-02-02 16:42:37 +0000 |
|---|---|---|
| committer | kadmin <julianknodt@gmail.com> | 2022-02-03 15:17:51 +0000 |
| commit | 2dfd77d67555ab9a5a76002bb47749a795f3a5bf (patch) | |
| tree | 79ebd4003c143deb2e9e696b057ea95ffbc712a8 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | d5f9c40e6a9ecc62432e71e886cef83a4c2c9b98 (diff) | |
| download | rust-2dfd77d67555ab9a5a76002bb47749a795f3a5bf.tar.gz rust-2dfd77d67555ab9a5a76002bb47749a795f3a5bf.zip | |
Fix ret > 1 bound if shadowed by const
Prior to a change, it would only look at types in bounds. When it started looking for consts, shadowing type variables with a const would cause an ICE, so now defer looking at consts only if there are no types present.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
