Skip to content

Glob resolution error in nanomsg-sys 0.6.0 in rust 1.13 beta #38389

Closed
@brson

Description

@brson

Original report.


   Compiling libc v0.2.18

   Compiling nanomsg-sys v0.6.0 (file:///home/crate)

error[E0252]: a value named `ENOTSUP` has already been imported in this module

 --> src/lib.rs:7:9

  |

5 | pub use libc::*;

  |         -------- previous import of `ENOTSUP` here

6 | 

7 | pub use posix_consts::*;

  |         ^^^^^^^^^^^^^^^^ already imported


error[E0255]: a value named `ENOTSUP` has already been imported in this module

  --> src/lib.rs:85:5

   |

72 |     use libc::*;

   |         -------- previous import of `ENOTSUP` here

...

85 |     pub const ENOTSUP: c_int = NN_HAUSNUMERO + 1;

   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ENOTSUP` was already imported


error: aborting due to 2 previous errors

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions