Skip to content

duplicate_macro_exports lint says it will be a hard error in 2018 but it is still a lint #61221

Closed
@ehuss

Description

@ehuss

duplicate_macro_exports is marked as a future incompatible lint. However, it was never made a hard error, so in 2018 you still get the note:

this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!

and points to a closed issue.

If I am understanding the terminology correctly, there is a difference between a "hard error" and a "deny by default lint" where a hard error cannot be disabled, correct?

AFAIK, this is the only future incompatible lint (with a specified edition) that does not have a hard error implemented.

I'm not sure if this is intentional or tracked anywhere (I can't find any). It's a minor pedantic issue, since it is deny-by-default, it seems unlikely to be a problem. I'm not sure if it should be left as-is, make it a hard error in 2018, or remove the edition from the future note.

cc @petrochenkov

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-edition-2018Area: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions