Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upedition compatibility: No warning emitted for crate/macro of the same name #56684
Comments
alexcrichton
added
the
A-edition-2018-lints
label
Dec 10, 2018
alexcrichton
referenced this issue
Dec 10, 2018
Closed
When a crate name conflicts with a macro, 2015 -> 2018 #153
alexcrichton
added
the
A-suggestion-diagnostics
label
Jan 7, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alexcrichton commentedDec 10, 2018
Originally reported upstream this code:
when compiled emits no warnings, but when compiled in the 2018 edition fails to compile.
This appears to have something to do with the fact that the
tomlcrate has atomlmacro perhaps? It seems unclear!