Skip to content

rust/RELEASES.md doesn't mention that 1.42 allows custom attributes on modules #77098

Description

@Emoun

Pre-1.42, applying an attribute procedural macro to a module was disallowed with the following message:

error[E0658]: custom attributes cannot be applied to modules
...
 = note: for more information, see https://github.com/rust-lang/rust/issues/54727

As an example, see this build using rust 1.34 that exhibits this.

From rust 1.42 and onward this error does not occur, however, this is not detailed in the release notes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-releaseRelevant to the release subteam, 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