Skip to content

rustc panics given malformed attribute #48387

Closed
@darakshan

Description

@darakshan

A typo in an attribute causes a compiler panic. It is probably connected with the presence of
#![plugin(rocket_codegen)]

I've reduced the offender to a tiny single .rs file and its Cargo.toml.
Rust_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)I-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