Skip to content

println_color_quiet defined multiple times #7

Open
@aycippo

Description

@aycippo

A build error occurs when compiling the 'lsio' crate version 0.1.18:

error[E0428]: the name println_color_quietis defined multiple times --> C:\Users\%USER%\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsio-0.1.18\src\macros.rs:100:1 | 52 | macro_rules! println_color_quiet { | -------------------------------- previous definition of the macroprintln_color_quiethere ... 100 | macro_rules! println_color_quiet { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^println_color_quietredefined here | = note:println_color_quiet` must be defined only once in the macro namespace of this module

For more information about this error, try rustc --explain E0428.
error: could not compile lsio (lib) due to previous error`

Likely occurs due to a spelling error where println_color_quiet should be print_color_quiet.
macros.rs: ln 49-52
/// print_color! with quiet option. /// #[macro_export] macro_rules! println_color_quiet { ...

Metadata

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