about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-07 14:54:15 +0000
committerbors <bors@rust-lang.org>2018-02-07 14:54:15 +0000
commitfee39ba8bd98f5b93c60de51336830fa7f0b9d97 (patch)
tree00127a3bc17f717ab08c2951c7ccc81d02b3a884 /src/rustllvm/RustWrapper.cpp
parent4f93357d3b8938dfe439329c43c1e4f919a70869 (diff)
parente99f8fcbc5ea4cf839575bc7ca56151147346a54 (diff)
downloadrust-fee39ba8bd98f5b93c60de51336830fa7f0b9d97.tar.gz
rust-fee39ba8bd98f5b93c60de51336830fa7f0b9d97.zip
Auto merge of #47957 - bobtwinkles:fix_mir_consts, r=nikomatsakis
[NLL] Improve DefiningTy::Const

Fixes #47590 by fixing the way DefiningTy represents constants. Previously, constants were represented using just the type of the variable. However, this will fail to capture early-bound regions as NLL inference vars, resulting in an ICE when we try to compute region VIDs a little bit later in the universal
region resolution process. (ref #47590)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions