-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-negative_impls#![feature(negative_impls)]#![feature(negative_impls)]T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
I tried this code:
#![feature(negative_impls)]
pub struct S {}
pub trait Trait {}
impl<T> !Trait for T {}
I expected to see this happen: Rustdoc shows impl !Trait for S
on the documentation for S, the same way it shows impl<T> Any for T
.
Instead, this happened: Rustdoc does not show the blanket implementation.
Meta
rustdoc --version
: rustdoc 1.50.0-nightly (0edce6f 2020-12-24)
scottmcm
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-negative_impls#![feature(negative_impls)]#![feature(negative_impls)]T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.