mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-22 13:11:32 +00:00
Give that panic! a message. Also, make it an unreachable!.
This commit is contained in:
@ -182,7 +182,7 @@ impl BitAnd for ExtraInfo {
|
|||||||
(false, false) => info,
|
(false, false) => info,
|
||||||
(true, false) => info | ExtraInfo::pending_f32_nan(),
|
(true, false) => info | ExtraInfo::pending_f32_nan(),
|
||||||
(false, true) => info | ExtraInfo::pending_f64_nan(),
|
(false, true) => info | ExtraInfo::pending_f64_nan(),
|
||||||
(true, true) => panic!(""),
|
(true, true) => unreachable!("Can't form ExtraInfo with two pending canonicalizations"),
|
||||||
};
|
};
|
||||||
info
|
info
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user