Skip to content

Allow non-ascii-idents in extern blocks #83942

Open
@Manishearth

Description

@Manishearth

RFC 2457 disallows non-ascii idents in extern blocks and no_mangle.

We added an error for extern blocks in #83923 (no_mangle already errors).

We should figure out if we can allow these -- we'd need to make sure the name mangling schemes consistently handle non-ASCII. I believe at the moment MSVC gets grumpy about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.F-non_ascii_idents`#![feature(non_ascii_idents)]`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions