You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issues a warning on a 32-bit build but not a 64-bit build (because v is a uint). This is annoying. We should consider uint to be 64-bits for the purposes of this lint mode, which is inline with our general philosophy that you of segregating uint from u32 and u64 to encourage portability between 32-bit and 64-bit.
The text was updated successfully, but these errors were encountered:
Rename tables to typecheck_result()
While working on rust-lang#6130, I noticed that part of the documentation was updated to use `LateContext::typeck_results`, but the paragraph still referred to the old `tables` field of `LateContext`.
---
*Please keep the line below*
changelog: none
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 24, 2020
New lint: Recommend using `ptr::eq` when possible
This is based almost entirely on the code available in the previous PR rust-lang#4596. I merely updated the code to make it compile.
Fixesrust-lang#3661.
- [ ] I'm not sure about the lint name, but it was the one used in the original PR.
- [X] Added passing UI tests (including committed `.stderr` file)
- [X] `cargo test` passes locally
- [X] Executed `cargo dev update_lints`
- [X] Added lint documentation
- [X] Run `cargo dev fmt`
---
changelog: none
The following code:
issues a warning on a 32-bit build but not a 64-bit build (because
v
is auint
). This is annoying. We should consideruint
to be 64-bits for the purposes of this lint mode, which is inline with our general philosophy that you of segregatinguint
fromu32
andu64
to encourage portability between 32-bit and 64-bit.The text was updated successfully, but these errors were encountered: