diff options
| author | bors <bors@rust-lang.org> | 2017-05-11 16:56:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-05-11 16:56:17 +0000 |
| commit | e40beb3af162e676e40704854dd6547ee8d4cf60 (patch) | |
| tree | ead43ed861f59e71d04e44018e1458506dc366a1 /src/rustllvm/RustWrapper.cpp | |
| parent | 2cc3358e4f1c4a79685745a461a1be1ce784b88a (diff) | |
| parent | d22d1feae19d4709d0031264ab0eddec4b309905 (diff) | |
| download | rust-e40beb3af162e676e40704854dd6547ee8d4cf60.tar.gz rust-e40beb3af162e676e40704854dd6547ee8d4cf60.zip | |
Auto merge of #41913 - nikomatsakis:issue-41849-variance-cycle, r=eddyb
do not fetch variance for items when equating Fixes #41849. Problem was that evaluating the constant expression required evaluating a trait, which would equate types, which would request variance information, which it would then discard. However, computing the variance information would require determining the type of a field, which would evaluate the constant expression. (This problem will potentially arise *later* as we move to more sophisticated constants, however, where we need to check subtyping. We can tackle that when we come to it.) r? @eddyb
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
