Skip to content

Extern crate warnings in test suite #351

Closed

Description

@dtolnay

As of rustc 1.21.0-nightly (e26688824 2017-08-27), cargo test gives the following warnings.

   Compiling serde_json v1.0.2
warning: unused extern crate
   --> src/lib.rs:323:1
    |
323 | extern crate core;
    | ^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(unused_extern_crates)] on by default

warning: unused extern crate
  --> tests/stream.rs:11:1
   |
11 | extern crate serde;
   | ^^^^^^^^^^^^^^^^^^^
   |
   = note: #[warn(unused_extern_crates)] on by default

Activity

  1. dtolnay commented on Mar 28, 2018

    @dtolnay
    MemberAuthor

    The extern crate core is no longer present, and the extern crate serde was fixed by rust-lang/rust#44825.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions