diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-11-03 14:48:03 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-11-05 22:01:30 -0500 |
| commit | ff361530b50ab10570085f3d611d834cc4ece4a5 (patch) | |
| tree | 11951e9440f151ae71d026b7e35630abd933bd8d /src/libsyntax/diagnostics/plugin.rs | |
| parent | f7914739379711e9f56fdcfab049b5a9531feb52 (diff) | |
| download | rust-ff361530b50ab10570085f3d611d834cc4ece4a5.tar.gz rust-ff361530b50ab10570085f3d611d834cc4ece4a5.zip | |
Partial fix for #17901: Be less conservative around unbound type
variables in the intracrate case. This requires a deeper distinction between inter- and intra-crate so as to keep coherence working. I suspect the best fix is to generalize the recursion check that exists today, but this requires a bit more refactoring to achieve. (In other words, where today it says OK for an exact match, we'd want to not detect exact matches but rather skolemize each trait-reference fresh and return AMBIG -- but that requires us to make builtin bounds work shallowly like everything else and move the cycle detection into the fulfillment context.)
Diffstat (limited to 'src/libsyntax/diagnostics/plugin.rs')
0 files changed, 0 insertions, 0 deletions
