-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provide suggestion for invalid boolean cast #57481
Conversation
Also, don't suggest comparing to zero for non-numeric expressions.
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
r? @estebank |
r=me once travis' green. |
@bors try |
⌛ Trying commit 565c39d with merge 9cd4bcc576081414006da5952afa37b99bd1691b... |
☀️ Test successful - checks-travis |
@bors r+ |
📌 Commit 565c39d has been approved by |
⌛ Testing commit 565c39d with merge d15431f258a694d436dd7add818c1dabd2b9b607... |
💔 Test failed - status-appveyor |
@bors retry |
…bank provide suggestion for invalid boolean cast Also, don't suggest comparing to zero for non-numeric expressions.
…bank provide suggestion for invalid boolean cast Also, don't suggest comparing to zero for non-numeric expressions.
Rollup of 8 pull requests Successful merges: - #57043 (Fix poor worst case performance of set intersection) - #57480 (Clean up and fix a bug in query plumbing) - #57481 (provide suggestion for invalid boolean cast) - #57540 (Modify some parser diagnostics to continue evaluating beyond the parser) - #57570 (Querify local `plugin_registrar_fn` and `proc_macro_decls_static`) - #57572 (Unaccept `extern_in_paths`) - #57585 (Recover from item trailing semicolon) - #57589 (Add a debug_assert to Vec::set_len) Failed merges: r? @ghost
Also, don't suggest comparing to zero for non-numeric expressions.