This is unreachable code and it should never ever be reachable even in the future
This commit is contained in:
parent
c47ee6b521
commit
2cf984d76e
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ impl<'a, 'tcx, M: Machine<'tcx>> EvalContext<'a, 'tcx, M> {
|
|||
}
|
||||
|
||||
Aggregate(..) |
|
||||
Variant(_) => unimplemented!(),
|
||||
Variant(_) => bug!("should not have aggregate or variant constants in MIR"),
|
||||
// function items are zero sized and thus have no readable value
|
||||
Function(..) => PrimVal::Undef,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue