Skip to content

Fix compilation error because of duplicate macro decl #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Fix compilation error because of duplicate macro decl #6

wants to merge 1 commit into from

Conversation

epilys
Copy link

@epilys epilys commented May 17, 2022

macro println_color_quiet was declared twice, because one of those
declarations should be print_color_quiet

manos ~/Downloads/lsio % cargo lbuild
   Compiling lsio v0.1.18 (/Users/manos/Downloads/lsio)
error[E0428]: the name `println_color_quiet` is defined multiple times
   --> src/macros.rs:100:1
    |
52  | macro_rules! println_color_quiet {
    | -------------------------------- previous definition of the macro `println_color_quiet` here
...
100 | macro_rules! println_color_quiet {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `println_color_quiet` redefined here
    |
    = note: `println_color_quiet` must be defined only once in the macro namespace of this module

error: could not compile `lsio` due to 2 previous errors; 12 warnings emitted

macro println_color_quiet was declared twice, because one of those
declarations should be print_color_quiet
@epilys epilys closed this Nov 24, 2022
@epilys epilys deleted the fix-macro-decl branch November 24, 2022 16:20
@aycippo
Copy link

aycippo commented Dec 1, 2023

why was this issue closed? this issues still appears in the current version (0.1.18)

@epilys
Copy link
Author

epilys commented Dec 1, 2023

@aycippo repo is unmaintained, lots of time passed I guess.

EDIT: If someone who can merge it shows up we re-open it of course.

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