-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
ICE when passing () to a function generic over Copy #42148
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I was met with an internal compiler error:
error: internal compiler error: unexpected panicI expected some kind of user-comprehensible error, instead.
Meta
Rust version:
rustc 1.19.0-nightly (01951a61a 2017-05-20)Associated Rust Playground: https://is.gd/ZHy4Av
Backtrace: