nits
This commit is contained in:
parent
6af8fb7936
commit
d77248e6d2
5 changed files with 9 additions and 19 deletions
|
@ -2643,6 +2643,7 @@ impl<'tcx> Display for ConstantKind<'tcx> {
|
|||
match *self {
|
||||
ConstantKind::Ty(c) => pretty_print_const(c, fmt, true),
|
||||
ConstantKind::Val(val, ty) => pretty_print_const_value(val, ty, fmt, true),
|
||||
// FIXME(valtrees): Correctly print mir constants.
|
||||
ConstantKind::Unevaluated(..) => {
|
||||
fmt.write_str("_")?;
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue