about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-04 14:59:04 +0100
committerGitHub <noreply@github.com>2022-02-04 14:59:04 +0100
commit92a7f5fa07d3c11e0ee4d3c2e4107add06e3e730 (patch)
tree3dcf1a5302eb6a52046cbd12709ba61aaebeae83 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentca2ef71e96b0a431f6085449c6d5583b13afa079 (diff)
parent2dfd77d67555ab9a5a76002bb47749a795f3a5bf (diff)
downloadrust-92a7f5fa07d3c11e0ee4d3c2e4107add06e3e730.tar.gz
rust-92a7f5fa07d3c11e0ee4d3c2e4107add06e3e730.zip
Rollup merge of #93593 - JulianKnodt:master, r=oli-obk
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.

cc ``````@compiler-errors``````
Should Fix #93553
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions