Skip to content

pub extern crate in rustc #32143

Closed
Closed

Description

This was identified as a bad thing in #28486 but there are five of them in the compiler:

src/librustc/lib.rs
52:pub extern crate rustc_llvm as llvm;

src/librustc_trans/lib.rs
49:pub extern crate rustc_llvm as llvm;

src/libstd/sys/unix/net.rs
24:pub extern crate libc as netc;

src/test/auxiliary/privacy_reexport.rs
11:pub extern crate core;

src/test/rustdoc/issue-27104.rs
19:// @has - 'pub extern crate empty'
20:pub extern crate empty;

Presumably they should be cleaned up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions