mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2025-02-16 08:54:56 +00:00
Clean up the output of assert_ty_eq!
(when it fails).
This commit is contained in:
parent
674649c4cb
commit
561f0dd984
@ -95,9 +95,8 @@ extern crate rustc_target;
|
||||
|
||||
macro_rules! assert_ty_eq {
|
||||
($codegen_cx:expr, $left:expr, $right:expr) => {
|
||||
assert_eq!(
|
||||
$left,
|
||||
$right,
|
||||
assert!(
|
||||
$left == $right,
|
||||
"Expected types to be equal:\n{}\n==\n{}",
|
||||
$codegen_cx.debug_type($left),
|
||||
$codegen_cx.debug_type($right)
|
||||
|
Loading…
Reference in New Issue
Block a user