-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc: Many times the same From<!> for T
impl for the !
type
#96036
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
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
Actually, the never type #![crate_type = "lib"]
impl<T> Something<Whatever> for T { } // blanket impl is duplicated on Whatever's page
pub struct Whatever { /* whatever */ }
pub trait Something<T> { } The number of duplicates depends on the number of public types accessible in the target crate. |
Taking a look. |
@fmease's code: pub trait Something<T> { }
pub struct Whatever;
impl<T> Something<Whatever> for T {} Gives: |
notriddle
added a commit
to notriddle/rust
that referenced
this issue
Apr 15, 2022
Fixes rust-lang#96036 This is a different approach than rust-lang#96091, an approach that should have less performance impact.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://doc.rust-lang.org/nightly/std/primitive.never.html#blanket-implementations
All pointing to the same impl:
@rustbot label +T-rustdoc
The text was updated successfully, but these errors were encountered: