@@ -66,7 +66,7 @@ macro_rules! assert_eq {
66
66
// The reborrows below are intentional. Without them, the stack slot for the
67
67
// borrow is initialized even before the values are compared, leading to a
68
68
// noticeable slow down.
69
- $crate:: macros_internals:: assert_failed( "==" , & * left_val, & * right_val) ;
69
+ $crate:: macros_internals:: assert_failed( "==" , & * left_val, & * right_val, $crate :: option :: Option :: None ) ;
70
70
}
71
71
}
72
72
}
@@ -78,7 +78,7 @@ macro_rules! assert_eq {
78
78
// The reborrows below are intentional. Without them, the stack slot for the
79
79
// borrow is initialized even before the values are compared, leading to a
80
80
// noticeable slow down.
81
- $crate:: macros_internals:: assert_failed_args ( "==" , & * left_val, & * right_val, $crate:: format_args!( $( $arg) +) ) ;
81
+ $crate:: macros_internals:: assert_failed ( "==" , & * left_val, & * right_val, $crate:: option :: Option :: Some ( $crate :: format_args!( $( $arg) +) ) ) ;
82
82
}
83
83
}
84
84
}
@@ -113,7 +113,7 @@ macro_rules! assert_ne {
113
113
// The reborrows below are intentional. Without them, the stack slot for the
114
114
// borrow is initialized even before the values are compared, leading to a
115
115
// noticeable slow down.
116
- $crate:: macros_internals:: assert_failed( "!=" , & * left_val, & * right_val) ;
116
+ $crate:: macros_internals:: assert_failed( "!=" , & * left_val, & * right_val, $crate :: option :: Option :: None ) ;
117
117
}
118
118
}
119
119
}
@@ -125,7 +125,7 @@ macro_rules! assert_ne {
125
125
// The reborrows below are intentional. Without them, the stack slot for the
126
126
// borrow is initialized even before the values are compared, leading to a
127
127
// noticeable slow down.
128
- $crate:: macros_internals:: assert_failed_args ( "!=" , & * left_val, & * right_val, $crate:: format_args!( $( $arg) +) ) ;
128
+ $crate:: macros_internals:: assert_failed ( "!=" , & * left_val, & * right_val, $crate:: option :: Option :: Some ( $crate :: format_args!( $( $arg) +) ) ) ;
129
129
}
130
130
}
131
131
}
0 commit comments