Alias-eq weakens inference in HIR typeck #7
Labels
fundamental-issue
Something that'll need fundamental restructuring or a hack existing at the solver level
hacked-around
A hack exists to work around this, but it may not be the optimal solution
needs-design
A clear root cause exists, but needs medium/hard re-architecture work towards a solution
Uh oh!
There was an error while loading. Please reload this page.
originally reported this in lcnr/solver-woes#13 --
Related, heavily reduced from an example in syn:
General direction of the fix would be to not prefer the subst-relate branch of alias-relate...
Something like compiler-errors/rust@d7001d2 + compiler-errors/rust@10064381389 (so we don't prefer alias-eq results that do no inference) will probably be needed ultimately, though fixed so it doesn't do this behavior during coherence, etc., maybe some other tweaking idk.
The text was updated successfully, but these errors were encountered: