Skip to content

Commit 3436fc7

Browse files
authored
Merge pull request #1697 from ehuss/extern-crate-as-non-ascii
Clarify that `extern crate foo as føø` is allowed
2 parents 0e37f7b + 0ad4594 commit 3436fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/identifiers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Zero width non-joiner (ZWNJ U+200C) and zero width joiner (ZWJ U+200D) character
4747
r[ident.ascii-limitations]
4848
Identifiers are restricted to the ASCII subset of [`XID_Start`] and [`XID_Continue`] in the following situations:
4949

50-
* [`extern crate`] declarations
50+
* [`extern crate`] declarations (except the _AsClause_ identifier)
5151
* External crate names referenced in a [path]
5252
* [Module] names loaded from the filesystem without a [`path` attribute]
5353
* [`no_mangle`] attributed items

0 commit comments

Comments
 (0)