Skip to content

ICE on Unicode escape in byte string literal #23620

Closed
@kmcallister

Description

@kmcallister
fn main() {
    b"\u{a66e}";
}
thread 'rustc' panicked at 'lexer accepted invalid byte literal \u{a66e} step 3', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/parse/mod.rs:592

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parserArea: The lexing & parsing of Rust source code to an ASTI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions