about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-09-22 20:57:43 +0000
committerbors <bors@rust-lang.org>2015-09-22 20:57:43 +0000
commitecbd8c3b43d7d992938f7214b3bab1c017669e59 (patch)
tree74c81fd994c81cbb45839314e8ee5c63ea827b07 /src/rustllvm/RustWrapper.cpp
parent9c1aaeb7b97e34b6688f31c6921d636d27c02e73 (diff)
parente567cb5a3ee0fd01c3a96d9688b1ae54e9b541e7 (diff)
downloadrust-ecbd8c3b43d7d992938f7214b3bab1c017669e59.tar.gz
rust-ecbd8c3b43d7d992938f7214b3bab1c017669e59.zip
Auto merge of #28369 - ebfull:fix-higher-ranked, r=nikomatsakis
Fixes #28279.

Currently

`common_supertype(*mut for<'a> Fn(&'a usize), *mut for<'a> Fn(&'a usize) + 'static)`

equals `*mut Fn(&usize)` which seems to be caused by `higher_ranked_sub()` allowing region variables to escape the comparison. This prevents inference from working properly with stuff like `Rc<Fn(&T)>`.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions