Uh oh!
There was an error while loading. Please reload this page.
Remove "static item recursion checking" in favor of relying on cycle checks in the query engine - #47987
Conversation
eddyb
commented
Feb 3, 2018
LGTM. r? @nikomatsakis for rubber-stamping (in case there's some forgotten odd case here). |
kennytm
commented
Feb 4, 2018
Please update the documentation for E0265 "a static or constant references itself" in the error index. Details |
fa0385b to
a868d49CompareThere was a problem hiding this comment.
I've been removing unused errors entirely before. Is there any reason not to do that?
There was a problem hiding this comment.
Not sure, but E0001 and E0002 are being kept...
There was a problem hiding this comment.
We're not consistent in doing this. I don't even like error codes at all.
There was a problem hiding this comment.
I think we usually leave a tombstone. It doesn't matter so much for these older errors, but it's particularly useful if the error is the last one that was made, so that it doesn't get reused.
There was a problem hiding this comment.
(I too would sort of like to reform error codes somewhat, though I'm not entirely sure to what.)
There was a problem hiding this comment.
But I think we can remove this text, no?
There was a problem hiding this comment.
seems like our message should include consts. Or maybe just change altogether. Something like "unsupported cyclic dependency detected"?
There was a problem hiding this comment.
It's about time. Maybe not even "unsupported", that always seemed a bit unnecessary.
a868d49 to
46a3f2fCompareZoxc
commented
Feb 10, 2018
I removed the unused error message and changed |
eddyb
commented
Feb 10, 2018
@bors r+ |
bors
commented
Feb 10, 2018
📌 Commit 46a3f2f has been approved by |
bors
commented
Feb 18, 2018
⌛ Testing commit 46a3f2f with merge d6005b3f3e50013a47a4e5269389a1343bba48b3... |
bors
commented
Feb 18, 2018
💔 Test failed - status-appveyor |
kennytm
commented
Feb 18, 2018
bors
commented
Feb 18, 2018
⌛ Testing commit 46a3f2f with merge 7b6d35cc5bb9a8ff432d0a3e933359a68ed42130... |
bors
commented
Feb 18, 2018
💔 Test failed - status-travis |
nikomatsakis
commented
Feb 19, 2018
Looks spurious.... https://travis-ci.org/rust-lang/rust/jobs/343159659#L1009-L1010 |
kennytm
commented
Feb 20, 2018
@bors retry |
Remove "static item recursion checking" in favor of relying on cycle checks in the query engine Tests are changed to use the cycle check error message instead. Some duplicate tests are removed. r? @eddyb
Tests are changed to use the cycle check error message instead. Some duplicate tests are removed.
r? @eddyb