Skip to content

Duplicate definition of type for rustc::mir::Constant #56137

Closed
@bjorn3

Description

@bjorn3

rustc::mir::Constant has a field ty, but its field literal contains a Const which itself already contains a Ty.

Metadata

Metadata

Assignees

Labels

A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions