-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Issues with non-ascii identifiers #18791
Copy link
Copy link
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Type
Fields
Give feedbackNo fields configured for issues without a type.
I've been playing around with non-ascii identifiers, and I found a (compiler) bug where the following doesn't work:
But this works fine:
The problem is in
|d| d.θ, as I use structs with non-ascii idents elsewhere without problems. The error given is'rustc' panicked at 'assertion failed: bpos.to_uint() >= mbc.pos.to_uint() + mbc.bytes', /private/tmp/rust-nightly-lvT20f/rust-nightly/src/libsyntax/codemap.rs:471My OS is OS X 10.10, my verbose version is just reported as rustc 0.13.0-dev, but I should be using the 2014-11-08 nightly build.