Skip to content
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

Rustdoc incorrectly shows blanket impls with Send contraints on !Send types #90324

Closed
maan2003 opened this issue Oct 26, 2021 · 1 comment · Fixed by #95069
Closed

Rustdoc incorrectly shows blanket impls with Send contraints on !Send types #90324

maan2003 opened this issue Oct 26, 2021 · 1 comment · Fixed by #95069
Labels
A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@maan2003
Copy link
Contributor

impl<T: Send + ..> ToSendValue for T is in Blanket impls

but the type is !Send

@maan2003 maan2003 added the C-bug Category: This is a bug. label Oct 26, 2021
@camelid camelid added A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Oct 26, 2021
@GuillaumeGomez
Copy link
Member

Minimum case to reproduce:

pub struct Foo(*const i8);

pub trait Whatever: Send {}

impl<T: Send + ?Sized> Whatever for T {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants