Skip to content

Panic when trying to use macro #53269

Closed
@jD91mZM2

Description

@jD91mZM2

The compiler panicked

I tried this code:
compiler-crash tag on rust-nix.
cargo test

I expected to see this happen: A normal compilation error
Instead, this happened: The rust compiler panicked

Meta

rustc --version --verbose:

rustc 1.30.0-nightly (7e8ca9f8b 2018-08-03)
binary: rustc
commit-hash: 7e8ca9f8bd8325398e76bc30ac09aab138bbb127
commit-date: 2018-08-03
host: x86_64-unknown-linux-gnu
release: 1.30.0-nightly
LLVM version: 7.0

2018 edition of rust

Backtrace: https://gist.github.com/0bf4ae25ef77940633fda40257b16cab

Metadata

Metadata

Assignees

Labels

A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions