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
This lint was introduced with #13251, two weeks ago, so it's not part of 1.83.0, and certainly not 1.81.0. The 1.81.0 version is probably due to the fact that the PR was opened much earlier. On the other hand, the version of newly added lints is corrected in new releases, as described in 4. Update clippy::version attributes.
I have also encountered this problem, especially when clicking on links from search results for Clippy Lints. Perhaps there should be a noticeable difference between Clippy Lints (stable) and Clippy Lints (master), apart from the different URL. Much like the difference between std (stable) and std (internal).
That's true, stable and nightly is probably a better comparison. However, the reason I chose the "internal" documentation as an example was because the potentially wrong version numbers of new lints feel like an internal agreement that may not be obvious to users? I don't know if such internal agreements exist in nightly Rust, too. How does Clippy relate to the nightly Rust builds?
I understand that it might be complicated to introduce some difference between the master and stable webpages, since some master will be the next stable, but since new lints are unfinished anyway (as far as their version number is concerned), could "unfinished" lints be highlighted differently on the webpage?
Activity
roberthree commentedon Dec 19, 2024
This lint was introduced with #13251, two weeks ago, so it's not part of 1.83.0, and certainly not 1.81.0. The
1.81.0version is probably due to the fact that the PR was opened much earlier. On the other hand, the version of newly added lints is corrected in new releases, as described in 4. Updateclippy::versionattributes.Since you are using the
1.83.0version, you should look for lints in https://rust-lang.github.io/rust-clippy/rust-1.83.0/index.html, which does not containas_pointer_underscore, instead of https://rust-lang.github.io/rust-clippy/master/index.html. In general, one can start from https://rust-lang.github.io/rust-clippy/ and choose the correct version.I have also encountered this problem, especially when clicking on links from search results for Clippy Lints. Perhaps there should be a noticeable difference between Clippy Lints (stable) and Clippy Lints (master), apart from the different URL. Much like the difference between std (stable) and std (internal).
GuillaumeGomez commentedon Dec 28, 2024
You mean between std (stable) and std (nightly)? 😉
There is no difference except for the URL and the version displayed in the sidebar.
roberthree commentedon Dec 29, 2024
That's true, stable and nightly is probably a better comparison. However, the reason I chose the "internal" documentation as an example was because the potentially wrong version numbers of new lints feel like an internal agreement that may not be obvious to users? I don't know if such internal agreements exist in nightly Rust, too. How does Clippy relate to the nightly Rust builds?
I understand that it might be complicated to introduce some difference between the master and stable webpages, since some master will be the next stable, but since new lints are unfinished anyway (as far as their version number is concerned), could "unfinished" lints be highlighted differently on the webpage?