Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kazuk
Copy link
Contributor

@kazuk kazuk commented Jul 31, 2020

fixing compile(lint) error with rustc 1.45.0

~/async-attributes$ cargo build
    Blocking waiting for file lock on build directory
   Compiling async-attributes v1.1.1 (/home/kazuk/async-attributes)
error: unused extern crate
  --> src/lib.rs:30:1
   |
30 | extern crate proc_macro;
   | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
   |
note: the lint level is defined here
  --> src/lib.rs:26:45
   |
26 | #![forbid(unsafe_code, future_incompatible, rust_2018_idioms)]
   |                                             ^^^^^^^^^^^^^^^^
   = note: `#[forbid(unused_extern_crates)]` implied by `#[forbid(rust_2018_idioms)]`

error: aborting due to previous error

error: could not compile `async-attributes`.

```
~/async-attributes$ cargo build
    Blocking waiting for file lock on build directory
   Compiling async-attributes v1.1.1 (/home/kazuk/async-attributes)
error: unused extern crate
  --> src/lib.rs:30:1
   |
30 | extern crate proc_macro;
   | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
   |
note: the lint level is defined here
  --> src/lib.rs:26:45
   |
26 | #![forbid(unsafe_code, future_incompatible, rust_2018_idioms)]
   |                                             ^^^^^^^^^^^^^^^^
   = note: `#[forbid(unused_extern_crates)]` implied by `#[forbid(rust_2018_idioms)]`

error: aborting due to previous error

error: could not compile `async-attributes`.
```
Copy link
Collaborator

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@yoshuawuyts yoshuawuyts merged commit c1cebc8 into async-rs:master Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants