Give that panic! a message. Also, make it an unreachable!.

This commit is contained in:
Nick Lewycky 2019-11-07 10:57:10 -08:00
parent fa576093c2
commit d1ce8ee20d

View File

@ -182,7 +182,7 @@ impl BitAnd for ExtraInfo {
(false, false) => info,
(true, false) => info | ExtraInfo::pending_f32_nan(),
(false, true) => info | ExtraInfo::pending_f64_nan(),
(true, true) => panic!(""),
(true, true) => unreachable!("Can't form ExtraInfo with two pending canonicalizations"),
};
info
}