mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Give that panic! a message. Also, make it an unreachable!.
This commit is contained in:
parent
fa576093c2
commit
d1ce8ee20d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user