Skip to content

Private trait appears in the documentation #16563

Closed
@japaric

Description

@japaric

STR

// lib.rs
trait Private {}
// main.rs
extern crate lib;

use lib::Private;

fn main() {}
$ rustc --crate-type=lib lib.rs
$ rustc -L . main.rs
main.rs:3:5: 3:18 error: trait `Private` is private
main.rs:3 use lib::Private;
              ^~~~~~~~~~~~~
error: aborting due to previous error
$ rustdoc lib.rs

Version

rustc 0.12.0-pre (eff87bc9d 2014-08-17 13:11:06 +0000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions