- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendT-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
#![feature(no_core)]
#![feature(rustdoc_internals)]
#![no_core]
pub trait Local {}
impl Local for bool {}
#[doc(primitive = "bool")]
/// Boolean docs
mod prim_bool {}Gives
"0:3:366": {
      "attrs": ["#[doc(primitive = \"bool\")]"],
      "crate_id": 0,
      "deprecation": null,
      "docs": "Boolean docs",
      "id": "0:3:366",
      "inner": "bool",
      "kind": "primitive_type",
      "links": {},
      "name": "bool",
      "span": {
        "begin": [12, 0],
        "end": [12, 16],
        "filename": "/data/ne321/rust/src/test/rustdoc-json/impls/local_for_local_primitive.rs"
      },
      "visibility": "public"
    }but doesn't show the trait impls for bool.
@rustbot modify labels: +A-rustdoc-json +T-rustdoc
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendT-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.