Expand description
§Assertables: Rust crate of assert macros for testing
+Expand description
§Assertables: Rust crate of assert macros for testing
Assertables is a Rust crate that provides many assert macros to improve your compile-time tests and run-time reliability.
-
@@ -14,15 +14,19 @@
- Test values with assert_lt, assert_gt, -… -
- Test results with -assert_ok, -assert_err, -… +…
- Test groups with assert_all, assert_any, -… +… +
- Test results with +assert_ok, +assert_err, +… +
- Test options with +assert_some, +assert_none, +…
- Test matching with
assert_matches,
assert_is_match,
@@ -90,12 +94,12 @@
§Examples
§Highlights
Values:
-
-
assert_eq!(a, b)
≈ a = b
-assert_ne!(a, b)
≈ a ≠ b
-assert_lt!(a, b)
≈ a < b
-assert_le!(a, b)
≈ a ≤ b
-assert_gt!(a, b)
≈ a > b
-assert_ge!(a, b)
≈ a ≥ b
+assert_eq!(a, b)
≈ a = b ≈ equal to
+assert_ne!(a, b)
≈ a ≠ b ≈ not equal to
+assert_lt!(a, b)
≈ a < b ≈ less than
+assert_le!(a, b)
≈ a ≤ b ≈ less than or equal to
+assert_gt!(a, b)
≈ a > b ≈ greater than
+assert_ge!(a, b)
≈ a ≥ b ≈ greater than or equal to
Nearness:
-
@@ -125,19 +129,19 @@
assert_ok!(a)
≈ a is Okassert_err!(a)
≈ a is Err
-assert_ok_eq_x!(a, x)
≈ a is Ok unwrap = x
+assert_ok_eq_x!(a, x)
≈ a is Ok ⇒ unwrap = x
§Highlights
Options:
assert_some!(a)
≈ a is Someassert_none!(a)
≈ a is None
-assert_some_eq_x!(a, x)
≈ a is Some unwrap = x
+assert_some_eq_x!(a, x)
≈ a is Some ⇒ unwrap = x
Polls:
assert_ready!(a)
≈ a is Readyassert_pending!(a)
≈ a is Pending
-assert_ready_eq_x!(a, x)
≈ a is Ready unwrap = x
+assert_ready_eq_x!(a, x)
≈ a is Ready ⇒ unwrap = x
Collections:
-
diff --git a/doc/src/lib/assert_abs_diff/assert_abs_diff_eq.rs.html b/doc/src/lib/assert_abs_diff/assert_abs_diff_eq.rs.html
index a937abaf3..be9fe3ad6 100644
--- a/doc/src/lib/assert_abs_diff/assert_abs_diff_eq.rs.html
+++ b/doc/src/lib/assert_abs_diff/assert_abs_diff_eq.rs.html
@@ -472,7 +472,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_eq_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_abs_diff/assert_abs_diff_ge.rs.html b/doc/src/lib/assert_abs_diff/assert_abs_diff_ge.rs.html
index f8c45eaaf..1bb915d75 100644
--- a/doc/src/lib/assert_abs_diff/assert_abs_diff_ge.rs.html
+++ b/doc/src/lib/assert_abs_diff/assert_abs_diff_ge.rs.html
@@ -444,7 +444,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_ge_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_abs_diff/assert_abs_diff_gt.rs.html b/doc/src/lib/assert_abs_diff/assert_abs_diff_gt.rs.html
index bba686bc2..42b30c0e1 100644
--- a/doc/src/lib/assert_abs_diff/assert_abs_diff_gt.rs.html
+++ b/doc/src/lib/assert_abs_diff/assert_abs_diff_gt.rs.html
@@ -472,7 +472,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_gt_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_abs_diff/assert_abs_diff_le.rs.html b/doc/src/lib/assert_abs_diff/assert_abs_diff_le.rs.html
index 1c40ae6e7..232b3e313 100644
--- a/doc/src/lib/assert_abs_diff/assert_abs_diff_le.rs.html
+++ b/doc/src/lib/assert_abs_diff/assert_abs_diff_le.rs.html
@@ -444,7 +444,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_le_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_abs_diff/assert_abs_diff_lt.rs.html b/doc/src/lib/assert_abs_diff/assert_abs_diff_lt.rs.html
index 22e590add..151c49985 100644
--- a/doc/src/lib/assert_abs_diff/assert_abs_diff_lt.rs.html
+++ b/doc/src/lib/assert_abs_diff/assert_abs_diff_lt.rs.html
@@ -472,7 +472,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_lt_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_abs_diff/assert_abs_diff_ne.rs.html b/doc/src/lib/assert_abs_diff/assert_abs_diff_ne.rs.html
index 3bc7b910b..04e4d9c27 100644
--- a/doc/src/lib/assert_abs_diff/assert_abs_diff_ne.rs.html
+++ b/doc/src/lib/assert_abs_diff/assert_abs_diff_ne.rs.html
@@ -444,7 +444,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_ne_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_all.rs.html b/doc/src/lib/assert_all.rs.html
index 051ea5296..d26754f34 100644
--- a/doc/src/lib/assert_all.rs.html
+++ b/doc/src/lib/assert_all.rs.html
@@ -360,7 +360,7 @@
($collection:expr, $predicate:expr, $($message:tt)+) => {{
match $crate::assert_all_as_result!($collection, $predicate) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_any.rs.html b/doc/src/lib/assert_any.rs.html
index e6022a757..804626b23 100644
--- a/doc/src/lib/assert_any.rs.html
+++ b/doc/src/lib/assert_any.rs.html
@@ -360,7 +360,7 @@
($collection:expr, $predicate:expr, $($message:tt)+) => {{
match $crate::assert_any_as_result!($collection, $predicate) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_approx/assert_approx_eq.rs.html b/doc/src/lib/assert_approx/assert_approx_eq.rs.html
index 06b031ba5..28d6271b6 100644
--- a/doc/src/lib/assert_approx/assert_approx_eq.rs.html
+++ b/doc/src/lib/assert_approx/assert_approx_eq.rs.html
@@ -522,7 +522,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_approx_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_approx/assert_approx_ne.rs.html b/doc/src/lib/assert_approx/assert_approx_ne.rs.html
index 58f4c4728..c9101ca8d 100644
--- a/doc/src/lib/assert_approx/assert_approx_ne.rs.html
+++ b/doc/src/lib/assert_approx/assert_approx_ne.rs.html
@@ -522,7 +522,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_approx_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_bag/assert_bag_eq.rs.html b/doc/src/lib/assert_bag/assert_bag_eq.rs.html
index 5dd641557..0b5848804 100644
--- a/doc/src/lib/assert_bag/assert_bag_eq.rs.html
+++ b/doc/src/lib/assert_bag/assert_bag_eq.rs.html
@@ -408,7 +408,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_eq_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_bag/assert_bag_ne.rs.html b/doc/src/lib/assert_bag/assert_bag_ne.rs.html
index 372a8649f..5879d63cf 100644
--- a/doc/src/lib/assert_bag/assert_bag_ne.rs.html
+++ b/doc/src/lib/assert_bag/assert_bag_ne.rs.html
@@ -412,7 +412,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_ne_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_bag/assert_bag_subbag.rs.html b/doc/src/lib/assert_bag/assert_bag_subbag.rs.html
index 235d38729..2343cdaf5 100644
--- a/doc/src/lib/assert_bag/assert_bag_subbag.rs.html
+++ b/doc/src/lib/assert_bag/assert_bag_subbag.rs.html
@@ -460,7 +460,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_subbag_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_bag/assert_bag_superbag.rs.html b/doc/src/lib/assert_bag/assert_bag_superbag.rs.html
index 4e5f4d943..fdf927c5e 100644
--- a/doc/src/lib/assert_bag/assert_bag_superbag.rs.html
+++ b/doc/src/lib/assert_bag/assert_bag_superbag.rs.html
@@ -460,7 +460,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_superbag_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_eq.rs.html b/doc/src/lib/assert_command/assert_command_stderr_eq.rs.html
index adf533aba..a27e3be23 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_eq.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_eq.rs.html
@@ -511,7 +511,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_eq_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_eq_x.rs.html b/doc/src/lib/assert_command/assert_command_stderr_eq_x.rs.html
index 9cc569757..0a70aea9a 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_eq_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_eq_x.rs.html
@@ -498,7 +498,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_eq_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_ge.rs.html b/doc/src/lib/assert_command/assert_command_stderr_ge.rs.html
index 79ef148aa..876b37f89 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_ge.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_ge.rs.html
@@ -495,7 +495,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ge_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_ge_x.rs.html b/doc/src/lib/assert_command/assert_command_stderr_ge_x.rs.html
index 4efffcd7a..6a1610b07 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_ge_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_ge_x.rs.html
@@ -476,7 +476,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ge_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_gt.rs.html b/doc/src/lib/assert_command/assert_command_stderr_gt.rs.html
index 4959a74af..fb78da6ae 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_gt.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_gt.rs.html
@@ -511,7 +511,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_gt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_gt_x.rs.html b/doc/src/lib/assert_command/assert_command_stderr_gt_x.rs.html
index 7776a28f1..5384e3bd1 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_gt_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_gt_x.rs.html
@@ -498,7 +498,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_gt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_le.rs.html b/doc/src/lib/assert_command/assert_command_stderr_le.rs.html
index 3fe10be38..c2853b596 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_le.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_le.rs.html
@@ -495,7 +495,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_le_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_le_x.rs.html b/doc/src/lib/assert_command/assert_command_stderr_le_x.rs.html
index ce7047f96..4d6b16847 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_le_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_le_x.rs.html
@@ -476,7 +476,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_le_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_lt.rs.html b/doc/src/lib/assert_command/assert_command_stderr_lt.rs.html
index e7597e0d7..f0d36e700 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_lt.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_lt.rs.html
@@ -511,7 +511,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_lt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_lt_x.rs.html b/doc/src/lib/assert_command/assert_command_stderr_lt_x.rs.html
index 4f64a058b..7892e591f 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_lt_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_lt_x.rs.html
@@ -498,7 +498,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_lt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_ne.rs.html b/doc/src/lib/assert_command/assert_command_stderr_ne.rs.html
index 67d321189..c6fcd2287 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_ne.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_ne.rs.html
@@ -495,7 +495,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ne_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_ne_x.rs.html b/doc/src/lib/assert_command/assert_command_stderr_ne_x.rs.html
index 234541092..b802b9ef9 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_ne_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_ne_x.rs.html
@@ -476,7 +476,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ne_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_string_contains.rs.html b/doc/src/lib/assert_command/assert_command_stderr_string_contains.rs.html
index bdc1904e2..ec2487a22 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_string_contains.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_string_contains.rs.html
@@ -458,7 +458,7 @@
($command:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_string_contains_as_result!($command, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stderr_string_is_match.rs.html b/doc/src/lib/assert_command/assert_command_stderr_string_is_match.rs.html
index 5c30135cb..35287cbdd 100644
--- a/doc/src/lib/assert_command/assert_command_stderr_string_is_match.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stderr_string_is_match.rs.html
@@ -464,7 +464,7 @@
($command:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_string_is_match_as_result!($command, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_eq.rs.html b/doc/src/lib/assert_command/assert_command_stdout_eq.rs.html
index 935c47fb0..6d050bdb2 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_eq.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_eq.rs.html
@@ -511,7 +511,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_eq_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_eq_x.rs.html b/doc/src/lib/assert_command/assert_command_stdout_eq_x.rs.html
index 232de202f..2c2e575c5 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_eq_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_eq_x.rs.html
@@ -498,7 +498,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_eq_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_ge.rs.html b/doc/src/lib/assert_command/assert_command_stdout_ge.rs.html
index e44c1cfe1..0af217f83 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_ge.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_ge.rs.html
@@ -495,7 +495,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ge_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_ge_x.rs.html b/doc/src/lib/assert_command/assert_command_stdout_ge_x.rs.html
index df96079d3..43c3fef10 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_ge_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_ge_x.rs.html
@@ -476,7 +476,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ge_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_gt.rs.html b/doc/src/lib/assert_command/assert_command_stdout_gt.rs.html
index 3d56b7fda..4dfabb81a 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_gt.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_gt.rs.html
@@ -511,7 +511,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_gt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_gt_x.rs.html b/doc/src/lib/assert_command/assert_command_stdout_gt_x.rs.html
index fe1e80c4e..6e250f399 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_gt_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_gt_x.rs.html
@@ -498,7 +498,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_gt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_le.rs.html b/doc/src/lib/assert_command/assert_command_stdout_le.rs.html
index 6eef4ecc1..4767ef3e3 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_le.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_le.rs.html
@@ -495,7 +495,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_le_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_le_x.rs.html b/doc/src/lib/assert_command/assert_command_stdout_le_x.rs.html
index 235f1e3dc..f808efc49 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_le_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_le_x.rs.html
@@ -476,7 +476,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_le_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_lt.rs.html b/doc/src/lib/assert_command/assert_command_stdout_lt.rs.html
index 4b3ae8299..ace7cf695 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_lt.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_lt.rs.html
@@ -511,7 +511,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_lt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_lt_x.rs.html b/doc/src/lib/assert_command/assert_command_stdout_lt_x.rs.html
index afd93b461..edecd9259 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_lt_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_lt_x.rs.html
@@ -498,7 +498,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_lt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_ne.rs.html b/doc/src/lib/assert_command/assert_command_stdout_ne.rs.html
index 283c036ab..238e2c32f 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_ne.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_ne.rs.html
@@ -495,7 +495,7 @@
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ne_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_ne_x.rs.html b/doc/src/lib/assert_command/assert_command_stdout_ne_x.rs.html
index aa5fe1103..1cd4e2842 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_ne_x.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_ne_x.rs.html
@@ -476,7 +476,7 @@
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ne_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_string_contains.rs.html b/doc/src/lib/assert_command/assert_command_stdout_string_contains.rs.html
index 4661e2b79..7185aa508 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_string_contains.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_string_contains.rs.html
@@ -458,7 +458,7 @@
($command:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_string_contains_as_result!($command, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_command/assert_command_stdout_string_is_match.rs.html b/doc/src/lib/assert_command/assert_command_stdout_string_is_match.rs.html
index 778f338de..ee31e2f51 100644
--- a/doc/src/lib/assert_command/assert_command_stdout_string_is_match.rs.html
+++ b/doc/src/lib/assert_command/assert_command_stdout_string_is_match.rs.html
@@ -464,7 +464,7 @@
($command:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_string_is_match_as_result!($command, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_contains/assert_contains.rs.html b/doc/src/lib/assert_contains/assert_contains.rs.html
index 210249b90..0a9c441cd 100644
--- a/doc/src/lib/assert_contains/assert_contains.rs.html
+++ b/doc/src/lib/assert_contains/assert_contains.rs.html
@@ -522,7 +522,7 @@
($container:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_contains_as_result!($container, $containee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_contains/assert_not_contains.rs.html b/doc/src/lib/assert_contains/assert_not_contains.rs.html
index b91cf4006..8776aa780 100644
--- a/doc/src/lib/assert_contains/assert_not_contains.rs.html
+++ b/doc/src/lib/assert_contains/assert_not_contains.rs.html
@@ -532,7 +532,7 @@
($container:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_not_contains_as_result!($container, $containee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_eq.rs.html b/doc/src/lib/assert_count/assert_count_eq.rs.html
index fb1691796..46f76734c 100644
--- a/doc/src/lib/assert_count/assert_count_eq.rs.html
+++ b/doc/src/lib/assert_count/assert_count_eq.rs.html
@@ -436,7 +436,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_eq_x.rs.html b/doc/src/lib/assert_count/assert_count_eq_x.rs.html
index adb28e0f5..f82c19192 100644
--- a/doc/src/lib/assert_count/assert_count_eq_x.rs.html
+++ b/doc/src/lib/assert_count/assert_count_eq_x.rs.html
@@ -422,7 +422,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_ge.rs.html b/doc/src/lib/assert_count/assert_count_ge.rs.html
index 2b8af5b80..400b1eb41 100644
--- a/doc/src/lib/assert_count/assert_count_ge.rs.html
+++ b/doc/src/lib/assert_count/assert_count_ge.rs.html
@@ -412,7 +412,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ge_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_ge_x.rs.html b/doc/src/lib/assert_count/assert_count_ge_x.rs.html
index 1eb3719af..e1ebf21e4 100644
--- a/doc/src/lib/assert_count/assert_count_ge_x.rs.html
+++ b/doc/src/lib/assert_count/assert_count_ge_x.rs.html
@@ -400,7 +400,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ge_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_gt.rs.html b/doc/src/lib/assert_count/assert_count_gt.rs.html
index 836b7b3ec..38befd9ef 100644
--- a/doc/src/lib/assert_count/assert_count_gt.rs.html
+++ b/doc/src/lib/assert_count/assert_count_gt.rs.html
@@ -436,7 +436,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_gt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_gt_x.rs.html b/doc/src/lib/assert_count/assert_count_gt_x.rs.html
index 59487b82f..40d630662 100644
--- a/doc/src/lib/assert_count/assert_count_gt_x.rs.html
+++ b/doc/src/lib/assert_count/assert_count_gt_x.rs.html
@@ -422,7 +422,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_gt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_le.rs.html b/doc/src/lib/assert_count/assert_count_le.rs.html
index 50116a9db..11bb6163c 100644
--- a/doc/src/lib/assert_count/assert_count_le.rs.html
+++ b/doc/src/lib/assert_count/assert_count_le.rs.html
@@ -412,7 +412,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_le_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_le_x.rs.html b/doc/src/lib/assert_count/assert_count_le_x.rs.html
index deed7623a..bc2bd5ca9 100644
--- a/doc/src/lib/assert_count/assert_count_le_x.rs.html
+++ b/doc/src/lib/assert_count/assert_count_le_x.rs.html
@@ -400,7 +400,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_le_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_lt.rs.html b/doc/src/lib/assert_count/assert_count_lt.rs.html
index 9efca411f..1525f1370 100644
--- a/doc/src/lib/assert_count/assert_count_lt.rs.html
+++ b/doc/src/lib/assert_count/assert_count_lt.rs.html
@@ -436,7 +436,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_lt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_lt_x.rs.html b/doc/src/lib/assert_count/assert_count_lt_x.rs.html
index 73c8dd68f..93f089e07 100644
--- a/doc/src/lib/assert_count/assert_count_lt_x.rs.html
+++ b/doc/src/lib/assert_count/assert_count_lt_x.rs.html
@@ -422,7 +422,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_lt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_ne.rs.html b/doc/src/lib/assert_count/assert_count_ne.rs.html
index 565a811e5..48a9672f7 100644
--- a/doc/src/lib/assert_count/assert_count_ne.rs.html
+++ b/doc/src/lib/assert_count/assert_count_ne.rs.html
@@ -412,7 +412,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_count/assert_count_ne_x.rs.html b/doc/src/lib/assert_count/assert_count_ne_x.rs.html
index 4c10978aa..617cbaf82 100644
--- a/doc/src/lib/assert_count/assert_count_ne_x.rs.html
+++ b/doc/src/lib/assert_count/assert_count_ne_x.rs.html
@@ -400,7 +400,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ends_with/assert_ends_with.rs.html b/doc/src/lib/assert_ends_with/assert_ends_with.rs.html
index b31af2926..3d1b92a32 100644
--- a/doc/src/lib/assert_ends_with/assert_ends_with.rs.html
+++ b/doc/src/lib/assert_ends_with/assert_ends_with.rs.html
@@ -394,7 +394,7 @@
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_ends_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ends_with/assert_not_ends_with.rs.html b/doc/src/lib/assert_ends_with/assert_not_ends_with.rs.html
index 2e843dc44..6a58db2a1 100644
--- a/doc/src/lib/assert_ends_with/assert_not_ends_with.rs.html
+++ b/doc/src/lib/assert_ends_with/assert_not_ends_with.rs.html
@@ -394,7 +394,7 @@
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_not_ends_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_err/assert_err.rs.html b/doc/src/lib/assert_err/assert_err.rs.html
index 4bd6e5e47..30ea9cb1d 100644
--- a/doc/src/lib/assert_err/assert_err.rs.html
+++ b/doc/src/lib/assert_err/assert_err.rs.html
@@ -328,7 +328,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_err_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_err/assert_err_eq.rs.html b/doc/src/lib/assert_err/assert_err_eq.rs.html
index d9b558b02..294d0feca 100644
--- a/doc/src/lib/assert_err/assert_err_eq.rs.html
+++ b/doc/src/lib/assert_err/assert_err_eq.rs.html
@@ -464,7 +464,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_err/assert_err_eq_x.rs.html b/doc/src/lib/assert_err/assert_err_eq_x.rs.html
index c787c6941..4e9b9ed1a 100644
--- a/doc/src/lib/assert_err/assert_err_eq_x.rs.html
+++ b/doc/src/lib/assert_err/assert_err_eq_x.rs.html
@@ -454,7 +454,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_err/assert_err_ne.rs.html b/doc/src/lib/assert_err/assert_err_ne.rs.html
index b26fb72da..f042297f8 100644
--- a/doc/src/lib/assert_err/assert_err_ne.rs.html
+++ b/doc/src/lib/assert_err/assert_err_ne.rs.html
@@ -461,7 +461,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_err/assert_err_ne_x.rs.html b/doc/src/lib/assert_err/assert_err_ne_x.rs.html
index 37f956e7a..01ab568bf 100644
--- a/doc/src/lib/assert_err/assert_err_ne_x.rs.html
+++ b/doc/src/lib/assert_err/assert_err_ne_x.rs.html
@@ -454,7 +454,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn/assert_fn_eq.rs.html b/doc/src/lib/assert_fn/assert_fn_eq.rs.html
index 910582c0a..e2f7aac49 100644
--- a/doc/src/lib/assert_fn/assert_fn_eq.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_eq.rs.html
@@ -597,7 +597,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_eq_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -613,7 +613,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_eq_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_eq_x.rs.html b/doc/src/lib/assert_fn/assert_fn_eq_x.rs.html
index c8529bb2b..9ae55bfe0 100644
--- a/doc/src/lib/assert_fn/assert_fn_eq_x.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_eq_x.rs.html
@@ -585,7 +585,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -601,7 +601,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_ge.rs.html b/doc/src/lib/assert_fn/assert_fn_ge.rs.html
index 1f272ce5d..579f5b8ba 100644
--- a/doc/src/lib/assert_fn/assert_fn_ge.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_ge.rs.html
@@ -625,7 +625,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ge_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -641,7 +641,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ge_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_ge_x.rs.html b/doc/src/lib/assert_fn/assert_fn_ge_x.rs.html
index 89e8e3d53..465391c75 100644
--- a/doc/src/lib/assert_fn/assert_fn_ge_x.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_ge_x.rs.html
@@ -623,7 +623,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ge_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -639,7 +639,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ge_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_gt.rs.html b/doc/src/lib/assert_fn/assert_fn_gt.rs.html
index 0962198af..a365f29e8 100644
--- a/doc/src/lib/assert_fn/assert_fn_gt.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_gt.rs.html
@@ -673,7 +673,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_gt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -689,7 +689,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_gt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_gt_x.rs.html b/doc/src/lib/assert_fn/assert_fn_gt_x.rs.html
index 25a3b8ef4..6ddb7ec8e 100644
--- a/doc/src/lib/assert_fn/assert_fn_gt_x.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_gt_x.rs.html
@@ -663,7 +663,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_gt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -679,7 +679,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_gt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_le.rs.html b/doc/src/lib/assert_fn/assert_fn_le.rs.html
index 98ec1be3f..312123787 100644
--- a/doc/src/lib/assert_fn/assert_fn_le.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_le.rs.html
@@ -629,7 +629,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_le_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -645,7 +645,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_le_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_le_x.rs.html b/doc/src/lib/assert_fn/assert_fn_le_x.rs.html
index 7f9b9b6b3..cb2e92890 100644
--- a/doc/src/lib/assert_fn/assert_fn_le_x.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_le_x.rs.html
@@ -621,7 +621,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_le_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -637,7 +637,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_le_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_lt.rs.html b/doc/src/lib/assert_fn/assert_fn_lt.rs.html
index b996a5876..84e61f132 100644
--- a/doc/src/lib/assert_fn/assert_fn_lt.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_lt.rs.html
@@ -673,7 +673,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_lt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -689,7 +689,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_lt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_lt_x.rs.html b/doc/src/lib/assert_fn/assert_fn_lt_x.rs.html
index c7dfb5c02..1987e6f1b 100644
--- a/doc/src/lib/assert_fn/assert_fn_lt_x.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_lt_x.rs.html
@@ -663,7 +663,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_lt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -679,7 +679,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_lt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_ne.rs.html b/doc/src/lib/assert_fn/assert_fn_ne.rs.html
index 986b3ad8a..f0928f878 100644
--- a/doc/src/lib/assert_fn/assert_fn_ne.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_ne.rs.html
@@ -597,7 +597,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ne_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -613,7 +613,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ne_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn/assert_fn_ne_x.rs.html b/doc/src/lib/assert_fn/assert_fn_ne_x.rs.html
index cd2218a61..1ed2850ee 100644
--- a/doc/src/lib/assert_fn/assert_fn_ne_x.rs.html
+++ b/doc/src/lib/assert_fn/assert_fn_ne_x.rs.html
@@ -581,7 +581,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ne_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -597,7 +597,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ne_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_eq.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_eq.rs.html
index 11e8f3463..5d2efac3f 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_eq.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_eq.rs.html
@@ -729,7 +729,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -745,7 +745,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_eq_x.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_eq_x.rs.html
index 9ee785952..879bcc68f 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_eq_x.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_eq_x.rs.html
@@ -689,7 +689,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -705,7 +705,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_ge.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_ge.rs.html
index 7b60d2bd8..ddb432dac 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_ge.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_ge.rs.html
@@ -756,7 +756,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -772,7 +772,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_ge_x.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_ge_x.rs.html
index aa1b193a4..f078e4d8a 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_ge_x.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_ge_x.rs.html
@@ -730,7 +730,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -746,7 +746,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_gt.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_gt.rs.html
index 5f3f6f2ac..f9983cdb2 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_gt.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_gt.rs.html
@@ -804,7 +804,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -820,7 +820,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_gt_x.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_gt_x.rs.html
index 3e64c1b24..626b0eb77 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_gt_x.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_gt_x.rs.html
@@ -778,7 +778,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -794,7 +794,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_le.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_le.rs.html
index 99bab887a..16fb5dc1d 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_le.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_le.rs.html
@@ -756,7 +756,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_le_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -772,7 +772,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_le_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_le_x.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_le_x.rs.html
index 8de6431ed..41b87864b 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_le_x.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_le_x.rs.html
@@ -730,7 +730,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_le_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -746,7 +746,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_le_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_lt.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_lt.rs.html
index c631b539e..27962d66f 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_lt.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_lt.rs.html
@@ -789,7 +789,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -805,7 +805,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_lt_x.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_lt_x.rs.html
index ce2c45bbc..1e9063625 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_lt_x.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_lt_x.rs.html
@@ -778,7 +778,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -794,7 +794,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_ne.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_ne.rs.html
index 1f103da99..7967cf3d3 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_ne.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_ne.rs.html
@@ -728,7 +728,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -744,7 +744,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_err/assert_fn_err_ne_x.rs.html b/doc/src/lib/assert_fn_err/assert_fn_err_ne_x.rs.html
index cb9b9f978..91534f076 100644
--- a/doc/src/lib/assert_fn_err/assert_fn_err_ne_x.rs.html
+++ b/doc/src/lib/assert_fn_err/assert_fn_err_ne_x.rs.html
@@ -700,7 +700,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -716,7 +716,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_eq.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_eq.rs.html
index 7a8f1e394..838f107be 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_eq.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_eq.rs.html
@@ -728,7 +728,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -744,7 +744,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_eq_x.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_eq_x.rs.html
index a6052620b..ebc09f49f 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_eq_x.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_eq_x.rs.html
@@ -700,7 +700,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -716,7 +716,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_ge.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_ge.rs.html
index 39e97d2a7..4a72e1337 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_ge.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_ge.rs.html
@@ -756,7 +756,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -772,7 +772,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_ge_x.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_ge_x.rs.html
index 219065755..272e5c196 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_ge_x.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_ge_x.rs.html
@@ -730,7 +730,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -746,7 +746,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_gt.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_gt.rs.html
index 02cf80f87..1d019aab0 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_gt.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_gt.rs.html
@@ -804,7 +804,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -820,7 +820,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_gt_x.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_gt_x.rs.html
index 070ae1ccb..b77011a7d 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_gt_x.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_gt_x.rs.html
@@ -778,7 +778,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -794,7 +794,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_le.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_le.rs.html
index 5f4cb0a85..d59b8b649 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_le.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_le.rs.html
@@ -756,7 +756,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -772,7 +772,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_le_x.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_le_x.rs.html
index a9a9f63b1..27fdcab98 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_le_x.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_le_x.rs.html
@@ -732,7 +732,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -748,7 +748,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_lt.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_lt.rs.html
index 8a74b5279..2995359da 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_lt.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_lt.rs.html
@@ -800,7 +800,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -816,7 +816,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_lt_x.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_lt_x.rs.html
index 5f6e681bb..86ca9556e 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_lt_x.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_lt_x.rs.html
@@ -704,7 +704,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -720,7 +720,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_ne.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_ne.rs.html
index cde950041..b2d472a30 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_ne.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_ne.rs.html
@@ -728,7 +728,7 @@
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -744,7 +744,7 @@
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fn_ok/assert_fn_ok_ne_x.rs.html b/doc/src/lib/assert_fn_ok/assert_fn_ok_ne_x.rs.html
index f164c3243..16c0ddc4a 100644
--- a/doc/src/lib/assert_fn_ok/assert_fn_ok_ne_x.rs.html
+++ b/doc/src/lib/assert_fn_ok/assert_fn_ok_ne_x.rs.html
@@ -698,7 +698,7 @@
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -714,7 +714,7 @@
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs.html
index f5f35f188..5982de837 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs.html
@@ -462,7 +462,7 @@
($path:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_contains_as_result!($path, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs.html
index 5d2762d31..3bd0d5521 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs.html
@@ -532,7 +532,7 @@
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_eq_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs.html
index fe8e8cf65..60241e9e4 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs.html
@@ -520,7 +520,7 @@
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_eq_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs.html
index bab98bc3f..029644f84 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs.html
@@ -506,7 +506,7 @@
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ge_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs.html
index 0d5c7961d..ce7341788 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs.html
@@ -490,7 +490,7 @@
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ge_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs.html
index b49a11083..663a718e1 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs.html
@@ -532,7 +532,7 @@
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_gt_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs.html
index 54fec0134..11b371633 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs.html
@@ -520,7 +520,7 @@
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_gt_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs.html
index 7cd636815..5a1db123b 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs.html
@@ -464,7 +464,7 @@
($path:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_is_match_as_result!($path, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le.rs.html
index cff0579be..ada10c131 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le.rs.html
@@ -506,7 +506,7 @@
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_le_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs.html
index 7c2044848..b4bbdec85 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs.html
@@ -490,7 +490,7 @@
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_le_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs.html
index 34e5a4705..a1a560ec4 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs.html
@@ -532,7 +532,7 @@
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_lt_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs.html
index cf3022e8c..eeaf0de87 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs.html
@@ -520,7 +520,7 @@
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_lt_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs.html
index 33ad814da..fe184f00b 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs.html
@@ -506,7 +506,7 @@
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ne_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs.html b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs.html
index e5d61b45b..fc92760db 100644
--- a/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs.html
+++ b/doc/src/lib/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs.html
@@ -490,7 +490,7 @@
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ne_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ge.rs.html b/doc/src/lib/assert_ge.rs.html
index b7c5abc10..5de69b8dc 100644
--- a/doc/src/lib/assert_ge.rs.html
+++ b/doc/src/lib/assert_ge.rs.html
@@ -368,7 +368,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ge_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_gt.rs.html b/doc/src/lib/assert_gt.rs.html
index d7f5e8bff..e75c1f726 100644
--- a/doc/src/lib/assert_gt.rs.html
+++ b/doc/src/lib/assert_gt.rs.html
@@ -368,7 +368,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_gt_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_in/assert_in.rs.html b/doc/src/lib/assert_in/assert_in.rs.html
index ec59c0cad..77e3ecec0 100644
--- a/doc/src/lib/assert_in/assert_in.rs.html
+++ b/doc/src/lib/assert_in/assert_in.rs.html
@@ -358,7 +358,7 @@
($a:expr, $container:expr, $($message:tt)+) => {{
match $crate::assert_in_as_result!($a, $container) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_in/assert_in_delta.rs.html b/doc/src/lib/assert_in/assert_in_delta.rs.html
index 523f91a62..b811f5d3c 100644
--- a/doc/src/lib/assert_in/assert_in_delta.rs.html
+++ b/doc/src/lib/assert_in/assert_in_delta.rs.html
@@ -542,7 +542,7 @@
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_in_delta_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_in/assert_in_epsilon.rs.html b/doc/src/lib/assert_in/assert_in_epsilon.rs.html
index c9bd48d35..c9a5f4294 100644
--- a/doc/src/lib/assert_in/assert_in_epsilon.rs.html
+++ b/doc/src/lib/assert_in/assert_in_epsilon.rs.html
@@ -556,7 +556,7 @@
($a:expr, $b:expr, $epsilon:expr, $($message:tt)+) => {{
match $crate::assert_in_epsilon_as_result!($a, $b, $epsilon) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_in/assert_in_range.rs.html b/doc/src/lib/assert_in/assert_in_range.rs.html
index bcb934114..68a7bab31 100644
--- a/doc/src/lib/assert_in/assert_in_range.rs.html
+++ b/doc/src/lib/assert_in/assert_in_range.rs.html
@@ -378,7 +378,7 @@
($a:expr, $range:expr, $($message:tt)+) => {{
match $crate::assert_in_range_as_result!($a, $range) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_infix.rs.html b/doc/src/lib/assert_infix.rs.html
index 36a1238de..eec086450 100644
--- a/doc/src/lib/assert_infix.rs.html
+++ b/doc/src/lib/assert_infix.rs.html
@@ -528,7 +528,7 @@
($a:tt $infix:tt $b:tt, $($message:tt)+) => {{
match $crate::assert_infix_as_result!($a $infix $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_contains.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_contains.rs.html
index 739deee2b..649be7154 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_contains.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_contains.rs.html
@@ -440,7 +440,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_contains_as_result!($reader, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq.rs.html
index 635049730..861c15f1f 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq.rs.html
@@ -494,7 +494,7 @@
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_eq_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs.html
index aae916ef6..4d2910bca 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs.html
@@ -492,7 +492,7 @@
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_eq_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge.rs.html
index 37de93708..ea3985e8e 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge.rs.html
@@ -482,7 +482,7 @@
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ge_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs.html
index d9f85c770..e3eebd3a4 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs.html
@@ -468,7 +468,7 @@
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ge_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt.rs.html
index 0b977a791..bd9bd4835 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt.rs.html
@@ -502,7 +502,7 @@
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_gt_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs.html
index 54c90e723..c8df8d2b2 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs.html
@@ -492,7 +492,7 @@
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_gt_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_is_match.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_is_match.rs.html
index 9bf5e50d2..6426e213f 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_is_match.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_is_match.rs.html
@@ -454,7 +454,7 @@
($a_reader:expr, $b_matcher:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_is_match_as_result!($a_reader, $b_matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le.rs.html
index bdfe76553..bfb5813a3 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le.rs.html
@@ -460,7 +460,7 @@
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_le_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le_x.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le_x.rs.html
index ab627ecfe..17d6398fc 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le_x.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_le_x.rs.html
@@ -452,7 +452,7 @@
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_le_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt.rs.html
index 3f8f5a080..97b4f0f23 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt.rs.html
@@ -460,7 +460,7 @@
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_lt_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs.html
index b2c11c10e..8663537c7 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs.html
@@ -452,7 +452,7 @@
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_lt_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne.rs.html
index 438218367..1310d32c4 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne.rs.html
@@ -460,7 +460,7 @@
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ne_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs.html b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs.html
index ebe22f958..8b14e3046 100644
--- a/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs.html
+++ b/doc/src/lib/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs.html
@@ -452,7 +452,7 @@
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ne_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_is_empty/assert_is_empty.rs.html b/doc/src/lib/assert_is_empty/assert_is_empty.rs.html
index a09508f49..f6d26e44e 100644
--- a/doc/src/lib/assert_is_empty/assert_is_empty.rs.html
+++ b/doc/src/lib/assert_is_empty/assert_is_empty.rs.html
@@ -340,7 +340,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_is_empty_as_result!($a) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_is_empty/assert_not_empty.rs.html b/doc/src/lib/assert_is_empty/assert_not_empty.rs.html
index 39432c401..79964b25b 100644
--- a/doc/src/lib/assert_is_empty/assert_not_empty.rs.html
+++ b/doc/src/lib/assert_is_empty/assert_not_empty.rs.html
@@ -340,7 +340,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_not_empty_as_result!($a) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_is_match/assert_is_match.rs.html b/doc/src/lib/assert_is_match/assert_is_match.rs.html
index 6c8550932..9a9b62582 100644
--- a/doc/src/lib/assert_is_match/assert_is_match.rs.html
+++ b/doc/src/lib/assert_is_match/assert_is_match.rs.html
@@ -378,7 +378,7 @@
($matcher:expr, $matchee:expr, $($message:tt)+) => {{
match $crate::assert_is_match_as_result!($matcher, $matchee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_is_match/assert_not_match.rs.html b/doc/src/lib/assert_is_match/assert_not_match.rs.html
index 59e5ff64c..760e1615a 100644
--- a/doc/src/lib/assert_is_match/assert_not_match.rs.html
+++ b/doc/src/lib/assert_is_match/assert_not_match.rs.html
@@ -378,7 +378,7 @@
($matcher:expr, $matchee:expr, $($message:tt)+) => {{
match $crate::assert_not_match_as_result!($matcher, $matchee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_iter/assert_iter_eq.rs.html b/doc/src/lib/assert_iter/assert_iter_eq.rs.html
index 0336f0e17..54a88c884 100644
--- a/doc/src/lib/assert_iter/assert_iter_eq.rs.html
+++ b/doc/src/lib/assert_iter/assert_iter_eq.rs.html
@@ -388,7 +388,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_eq_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_iter/assert_iter_ge.rs.html b/doc/src/lib/assert_iter/assert_iter_ge.rs.html
index 5b90d2ca6..06d0ad164 100644
--- a/doc/src/lib/assert_iter/assert_iter_ge.rs.html
+++ b/doc/src/lib/assert_iter/assert_iter_ge.rs.html
@@ -404,7 +404,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_ge_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_iter/assert_iter_gt.rs.html b/doc/src/lib/assert_iter/assert_iter_gt.rs.html
index 0259b079b..31d8b7a07 100644
--- a/doc/src/lib/assert_iter/assert_iter_gt.rs.html
+++ b/doc/src/lib/assert_iter/assert_iter_gt.rs.html
@@ -424,7 +424,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_gt_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_iter/assert_iter_le.rs.html b/doc/src/lib/assert_iter/assert_iter_le.rs.html
index c469418e8..6a987ff48 100644
--- a/doc/src/lib/assert_iter/assert_iter_le.rs.html
+++ b/doc/src/lib/assert_iter/assert_iter_le.rs.html
@@ -404,7 +404,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_le_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_iter/assert_iter_lt.rs.html b/doc/src/lib/assert_iter/assert_iter_lt.rs.html
index c9c3c5b65..568d0fa02 100644
--- a/doc/src/lib/assert_iter/assert_iter_lt.rs.html
+++ b/doc/src/lib/assert_iter/assert_iter_lt.rs.html
@@ -424,7 +424,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_lt_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_iter/assert_iter_ne.rs.html b/doc/src/lib/assert_iter/assert_iter_ne.rs.html
index d32bc6d76..9444010f8 100644
--- a/doc/src/lib/assert_iter/assert_iter_ne.rs.html
+++ b/doc/src/lib/assert_iter/assert_iter_ne.rs.html
@@ -388,7 +388,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_ne_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_le.rs.html b/doc/src/lib/assert_le.rs.html
index 37ceddf18..a3247630c 100644
--- a/doc/src/lib/assert_le.rs.html
+++ b/doc/src/lib/assert_le.rs.html
@@ -368,7 +368,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_le_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_eq.rs.html b/doc/src/lib/assert_len/assert_len_eq.rs.html
index 46146fe0e..6a2dd152d 100644
--- a/doc/src/lib/assert_len/assert_len_eq.rs.html
+++ b/doc/src/lib/assert_len/assert_len_eq.rs.html
@@ -436,7 +436,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_eq_x.rs.html b/doc/src/lib/assert_len/assert_len_eq_x.rs.html
index 47c711ab9..6eb90801d 100644
--- a/doc/src/lib/assert_len/assert_len_eq_x.rs.html
+++ b/doc/src/lib/assert_len/assert_len_eq_x.rs.html
@@ -422,7 +422,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_ge.rs.html b/doc/src/lib/assert_len/assert_len_ge.rs.html
index f4538ccce..3537cbb7c 100644
--- a/doc/src/lib/assert_len/assert_len_ge.rs.html
+++ b/doc/src/lib/assert_len/assert_len_ge.rs.html
@@ -412,7 +412,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ge_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_ge_x.rs.html b/doc/src/lib/assert_len/assert_len_ge_x.rs.html
index 997e7c0a2..14ee01462 100644
--- a/doc/src/lib/assert_len/assert_len_ge_x.rs.html
+++ b/doc/src/lib/assert_len/assert_len_ge_x.rs.html
@@ -400,7 +400,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ge_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_gt.rs.html b/doc/src/lib/assert_len/assert_len_gt.rs.html
index 841ea303e..941db1691 100644
--- a/doc/src/lib/assert_len/assert_len_gt.rs.html
+++ b/doc/src/lib/assert_len/assert_len_gt.rs.html
@@ -436,7 +436,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_gt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_gt_x.rs.html b/doc/src/lib/assert_len/assert_len_gt_x.rs.html
index 4802b8a79..f819cd282 100644
--- a/doc/src/lib/assert_len/assert_len_gt_x.rs.html
+++ b/doc/src/lib/assert_len/assert_len_gt_x.rs.html
@@ -422,7 +422,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_gt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_le.rs.html b/doc/src/lib/assert_len/assert_len_le.rs.html
index a04bc4a7f..2676d57b5 100644
--- a/doc/src/lib/assert_len/assert_len_le.rs.html
+++ b/doc/src/lib/assert_len/assert_len_le.rs.html
@@ -412,7 +412,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_le_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_le_x.rs.html b/doc/src/lib/assert_len/assert_len_le_x.rs.html
index 40a0db4c3..e24e6fdac 100644
--- a/doc/src/lib/assert_len/assert_len_le_x.rs.html
+++ b/doc/src/lib/assert_len/assert_len_le_x.rs.html
@@ -400,7 +400,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_le_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_lt.rs.html b/doc/src/lib/assert_len/assert_len_lt.rs.html
index 785796353..d66e0f2b9 100644
--- a/doc/src/lib/assert_len/assert_len_lt.rs.html
+++ b/doc/src/lib/assert_len/assert_len_lt.rs.html
@@ -436,7 +436,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_lt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_lt_x.rs.html b/doc/src/lib/assert_len/assert_len_lt_x.rs.html
index 5b3bf32de..c5eea7fe6 100644
--- a/doc/src/lib/assert_len/assert_len_lt_x.rs.html
+++ b/doc/src/lib/assert_len/assert_len_lt_x.rs.html
@@ -422,7 +422,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_lt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_ne.rs.html b/doc/src/lib/assert_len/assert_len_ne.rs.html
index 7e6511012..bc4e5e3b6 100644
--- a/doc/src/lib/assert_len/assert_len_ne.rs.html
+++ b/doc/src/lib/assert_len/assert_len_ne.rs.html
@@ -412,7 +412,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_len/assert_len_ne_x.rs.html b/doc/src/lib/assert_len/assert_len_ne_x.rs.html
index 1cd61314e..f5142f8e8 100644
--- a/doc/src/lib/assert_len/assert_len_ne_x.rs.html
+++ b/doc/src/lib/assert_len/assert_len_ne_x.rs.html
@@ -400,7 +400,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_lt.rs.html b/doc/src/lib/assert_lt.rs.html
index 5d8ed7bd1..00fa077e2 100644
--- a/doc/src/lib/assert_lt.rs.html
+++ b/doc/src/lib/assert_lt.rs.html
@@ -370,7 +370,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_lt_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err)
}
}};
}
diff --git a/doc/src/lib/assert_matches/assert_matches.rs.html b/doc/src/lib/assert_matches/assert_matches.rs.html
index d03f6ce2a..1213d15d9 100644
--- a/doc/src/lib/assert_matches/assert_matches.rs.html
+++ b/doc/src/lib/assert_matches/assert_matches.rs.html
@@ -383,13 +383,13 @@
($expression:expr, $pattern:pat if $guard:expr, $($message:tt)+) => {{
match $crate::assert_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
($expression:expr, $pattern:pat, $($message:tt)+) => {{
match $crate::assert_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_matches/assert_not_matches.rs.html b/doc/src/lib/assert_matches/assert_not_matches.rs.html
index ed0cca2dd..18aa69ed3 100644
--- a/doc/src/lib/assert_matches/assert_not_matches.rs.html
+++ b/doc/src/lib/assert_matches/assert_not_matches.rs.html
@@ -383,13 +383,13 @@
($expression:expr, $pattern:pat if $guard:expr, $($message:tt)+) => {{
match $crate::assert_not_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
($expression:expr, $pattern:pat, $($message:tt)+) => {{
match $crate::assert_not_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_none/assert_none.rs.html b/doc/src/lib/assert_none/assert_none.rs.html
index c2df8b7f3..df53a1d0b 100644
--- a/doc/src/lib/assert_none/assert_none.rs.html
+++ b/doc/src/lib/assert_none/assert_none.rs.html
@@ -348,7 +348,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_none_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ok/assert_ok.rs.html b/doc/src/lib/assert_ok/assert_ok.rs.html
index 3218145cf..a48ef1c4a 100644
--- a/doc/src/lib/assert_ok/assert_ok.rs.html
+++ b/doc/src/lib/assert_ok/assert_ok.rs.html
@@ -328,7 +328,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_ok_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ok/assert_ok_eq.rs.html b/doc/src/lib/assert_ok/assert_ok_eq.rs.html
index 6b3f8f661..34f7d25e0 100644
--- a/doc/src/lib/assert_ok/assert_ok_eq.rs.html
+++ b/doc/src/lib/assert_ok/assert_ok_eq.rs.html
@@ -464,7 +464,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ok/assert_ok_eq_x.rs.html b/doc/src/lib/assert_ok/assert_ok_eq_x.rs.html
index dddcb4370..31505716e 100644
--- a/doc/src/lib/assert_ok/assert_ok_eq_x.rs.html
+++ b/doc/src/lib/assert_ok/assert_ok_eq_x.rs.html
@@ -454,7 +454,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ok/assert_ok_ne.rs.html b/doc/src/lib/assert_ok/assert_ok_ne.rs.html
index 7e154822a..6ddf18620 100644
--- a/doc/src/lib/assert_ok/assert_ok_ne.rs.html
+++ b/doc/src/lib/assert_ok/assert_ok_ne.rs.html
@@ -461,7 +461,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ok/assert_ok_ne_x.rs.html b/doc/src/lib/assert_ok/assert_ok_ne_x.rs.html
index a8cbe2852..358a15ae6 100644
--- a/doc/src/lib/assert_ok/assert_ok_ne_x.rs.html
+++ b/doc/src/lib/assert_ok/assert_ok_ne_x.rs.html
@@ -454,7 +454,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_pending/assert_pending.rs.html b/doc/src/lib/assert_pending/assert_pending.rs.html
index 9dcceb326..6612cba93 100644
--- a/doc/src/lib/assert_pending/assert_pending.rs.html
+++ b/doc/src/lib/assert_pending/assert_pending.rs.html
@@ -358,7 +358,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_pending_as_result!($a) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_eq.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_eq.rs.html
index 504ebec4a..3d79c20c4 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_eq.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_eq.rs.html
@@ -538,7 +538,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_eq_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_eq_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_eq_x.rs.html
index b14056a0b..7a3d26f58 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_eq_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_eq_x.rs.html
@@ -518,7 +518,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_eq_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_ge.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_ge.rs.html
index 19cfac68b..0176cf0f5 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_ge.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_ge.rs.html
@@ -566,7 +566,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ge_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_ge_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_ge_x.rs.html
index c5e7b1b0f..06fe31f28 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_ge_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_ge_x.rs.html
@@ -476,7 +476,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ge_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_gt.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_gt.rs.html
index 890757546..c55dd1480 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_gt.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_gt.rs.html
@@ -590,7 +590,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_gt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_gt_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_gt_x.rs.html
index 67cdd10e1..de8bf80b6 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_gt_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_gt_x.rs.html
@@ -476,7 +476,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_gt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_le.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_le.rs.html
index ef2622503..0ec7969d1 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_le.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_le.rs.html
@@ -566,7 +566,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_le_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_le_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_le_x.rs.html
index 047d50045..f784a016d 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_le_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_le_x.rs.html
@@ -476,7 +476,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_le_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_lt.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_lt.rs.html
index 87f2557d4..b0011a46a 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_lt.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_lt.rs.html
@@ -590,7 +590,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_lt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_lt_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_lt_x.rs.html
index c91647c0d..043b317dd 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_lt_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_lt_x.rs.html
@@ -476,7 +476,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_lt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_ne.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_ne.rs.html
index 69367a9d6..fd8c6f349 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_ne.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_ne.rs.html
@@ -566,7 +566,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ne_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_ne_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_ne_x.rs.html
index 178cf8fb2..b7a1f306f 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_ne_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_ne_x.rs.html
@@ -476,7 +476,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ne_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_string_contains.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_string_contains.rs.html
index bfcea1e51..e6e5831e9 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_string_contains.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_string_contains.rs.html
@@ -498,7 +498,7 @@
($a_program:expr, $a_args:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_string_contains_as_result!($a_program, $a_args, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stderr_string_is_match.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stderr_string_is_match.rs.html
index 2c19eada2..8f0d3800a 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stderr_string_is_match.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stderr_string_is_match.rs.html
@@ -486,7 +486,7 @@
($a_program:expr, $a_args:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_string_is_match_as_result!($a_program, $a_args, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_eq.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_eq.rs.html
index eee832d2c..e6d575b2a 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_eq.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_eq.rs.html
@@ -540,7 +540,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_eq_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_eq_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_eq_x.rs.html
index 5d6d30afa..c2d5ff3d4 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_eq_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_eq_x.rs.html
@@ -480,7 +480,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_eq_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_ge.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_ge.rs.html
index 57b809e49..cce4452b9 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_ge.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_ge.rs.html
@@ -568,7 +568,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ge_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_ge_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_ge_x.rs.html
index e11300f1c..c80e9962b 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_ge_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_ge_x.rs.html
@@ -496,7 +496,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ge_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_gt.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_gt.rs.html
index c6d33cef2..5f4981aa1 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_gt.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_gt.rs.html
@@ -540,7 +540,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_gt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_gt_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_gt_x.rs.html
index b7bd0dd87..c1c482112 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_gt_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_gt_x.rs.html
@@ -478,7 +478,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_gt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_le.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_le.rs.html
index f03c93a40..c3d6d26d8 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_le.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_le.rs.html
@@ -568,7 +568,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_le_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_le_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_le_x.rs.html
index 9654797bb..931baf661 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_le_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_le_x.rs.html
@@ -496,7 +496,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_le_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_lt.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_lt.rs.html
index d765f40d6..8142c698e 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_lt.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_lt.rs.html
@@ -540,7 +540,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_lt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_lt_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_lt_x.rs.html
index 54240cd3d..3f20d0d00 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_lt_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_lt_x.rs.html
@@ -478,7 +478,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_lt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_ne.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_ne.rs.html
index 641f4fc7d..c22185cee 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_ne.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_ne.rs.html
@@ -537,7 +537,7 @@
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ne_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_ne_x.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_ne_x.rs.html
index 550e27ec8..6cff6abb9 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_ne_x.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_ne_x.rs.html
@@ -478,7 +478,7 @@
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ne_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_string_contains.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_string_contains.rs.html
index ed8dcecbd..a0280c180 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_string_contains.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_string_contains.rs.html
@@ -495,7 +495,7 @@
($a_program:expr, $a_args:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_string_contains_as_result!($a_program, $a_args, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_program_args/assert_program_args_stdout_string_is_match.rs.html b/doc/src/lib/assert_program_args/assert_program_args_stdout_string_is_match.rs.html
index d5c611173..3fe02e2c6 100644
--- a/doc/src/lib/assert_program_args/assert_program_args_stdout_string_is_match.rs.html
+++ b/doc/src/lib/assert_program_args/assert_program_args_stdout_string_is_match.rs.html
@@ -486,7 +486,7 @@
($a_program:expr, $a_args:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_string_is_match_as_result!($a_program, $a_args, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ready/assert_ready.rs.html b/doc/src/lib/assert_ready/assert_ready.rs.html
index 2f92548ab..312b35f80 100644
--- a/doc/src/lib/assert_ready/assert_ready.rs.html
+++ b/doc/src/lib/assert_ready/assert_ready.rs.html
@@ -338,7 +338,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_ready_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ready/assert_ready_eq.rs.html b/doc/src/lib/assert_ready/assert_ready_eq.rs.html
index 862be56d1..5864c9239 100644
--- a/doc/src/lib/assert_ready/assert_ready_eq.rs.html
+++ b/doc/src/lib/assert_ready/assert_ready_eq.rs.html
@@ -472,7 +472,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ready/assert_ready_eq_x.rs.html b/doc/src/lib/assert_ready/assert_ready_eq_x.rs.html
index 4e20a6ba1..099f1a943 100644
--- a/doc/src/lib/assert_ready/assert_ready_eq_x.rs.html
+++ b/doc/src/lib/assert_ready/assert_ready_eq_x.rs.html
@@ -462,7 +462,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ready/assert_ready_ne.rs.html b/doc/src/lib/assert_ready/assert_ready_ne.rs.html
index a60caa09a..31c60b507 100644
--- a/doc/src/lib/assert_ready/assert_ready_ne.rs.html
+++ b/doc/src/lib/assert_ready/assert_ready_ne.rs.html
@@ -472,7 +472,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_ready/assert_ready_ne_x.rs.html b/doc/src/lib/assert_ready/assert_ready_ne_x.rs.html
index a6061a2b4..94faa50ca 100644
--- a/doc/src/lib/assert_ready/assert_ready_ne_x.rs.html
+++ b/doc/src/lib/assert_ready/assert_ready_ne_x.rs.html
@@ -462,7 +462,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_set/assert_set_disjoint.rs.html b/doc/src/lib/assert_set/assert_set_disjoint.rs.html
index 59554713b..3778808cb 100644
--- a/doc/src/lib/assert_set/assert_set_disjoint.rs.html
+++ b/doc/src/lib/assert_set/assert_set_disjoint.rs.html
@@ -412,7 +412,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_disjoint_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_set/assert_set_eq.rs.html b/doc/src/lib/assert_set/assert_set_eq.rs.html
index 364ead1ae..b6fed0f46 100644
--- a/doc/src/lib/assert_set/assert_set_eq.rs.html
+++ b/doc/src/lib/assert_set/assert_set_eq.rs.html
@@ -416,7 +416,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_eq_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_set/assert_set_joint.rs.html b/doc/src/lib/assert_set/assert_set_joint.rs.html
index 8f3fa1238..b610b90cc 100644
--- a/doc/src/lib/assert_set/assert_set_joint.rs.html
+++ b/doc/src/lib/assert_set/assert_set_joint.rs.html
@@ -412,7 +412,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_joint_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_set/assert_set_ne.rs.html b/doc/src/lib/assert_set/assert_set_ne.rs.html
index c1ee8906b..4c17d3e3d 100644
--- a/doc/src/lib/assert_set/assert_set_ne.rs.html
+++ b/doc/src/lib/assert_set/assert_set_ne.rs.html
@@ -414,7 +414,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_ne_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_set/assert_set_subset.rs.html b/doc/src/lib/assert_set/assert_set_subset.rs.html
index 4d8309ae0..1bba1e6f9 100644
--- a/doc/src/lib/assert_set/assert_set_subset.rs.html
+++ b/doc/src/lib/assert_set/assert_set_subset.rs.html
@@ -412,7 +412,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_subset_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_set/assert_set_superset.rs.html b/doc/src/lib/assert_set/assert_set_superset.rs.html
index fb82d24b4..7741e7b16 100644
--- a/doc/src/lib/assert_set/assert_set_superset.rs.html
+++ b/doc/src/lib/assert_set/assert_set_superset.rs.html
@@ -416,7 +416,7 @@
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_superset_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_some/assert_some.rs.html b/doc/src/lib/assert_some/assert_some.rs.html
index 57095dcf0..61e7e1172 100644
--- a/doc/src/lib/assert_some/assert_some.rs.html
+++ b/doc/src/lib/assert_some/assert_some.rs.html
@@ -328,7 +328,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_some_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_some/assert_some_eq.rs.html b/doc/src/lib/assert_some/assert_some_eq.rs.html
index b1c8d2d53..05a3b78ae 100644
--- a/doc/src/lib/assert_some/assert_some_eq.rs.html
+++ b/doc/src/lib/assert_some/assert_some_eq.rs.html
@@ -464,7 +464,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_some/assert_some_eq_x.rs.html b/doc/src/lib/assert_some/assert_some_eq_x.rs.html
index d61e1ebeb..63ae45fe0 100644
--- a/doc/src/lib/assert_some/assert_some_eq_x.rs.html
+++ b/doc/src/lib/assert_some/assert_some_eq_x.rs.html
@@ -454,7 +454,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_some/assert_some_ne.rs.html b/doc/src/lib/assert_some/assert_some_ne.rs.html
index f0464639c..b75969642 100644
--- a/doc/src/lib/assert_some/assert_some_ne.rs.html
+++ b/doc/src/lib/assert_some/assert_some_ne.rs.html
@@ -464,7 +464,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_some/assert_some_ne_x.rs.html b/doc/src/lib/assert_some/assert_some_ne_x.rs.html
index 0580f3b6d..ebc59d327 100644
--- a/doc/src/lib/assert_some/assert_some_ne_x.rs.html
+++ b/doc/src/lib/assert_some/assert_some_ne_x.rs.html
@@ -454,7 +454,7 @@
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_starts_with/assert_not_starts_with.rs.html b/doc/src/lib/assert_starts_with/assert_not_starts_with.rs.html
index babb97af2..8b1a2fa6f 100644
--- a/doc/src/lib/assert_starts_with/assert_not_starts_with.rs.html
+++ b/doc/src/lib/assert_starts_with/assert_not_starts_with.rs.html
@@ -394,7 +394,7 @@
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_not_starts_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_starts_with/assert_starts_with.rs.html b/doc/src/lib/assert_starts_with/assert_starts_with.rs.html
index 5f5c16081..ce8355ec7 100644
--- a/doc/src/lib/assert_starts_with/assert_starts_with.rs.html
+++ b/doc/src/lib/assert_starts_with/assert_starts_with.rs.html
@@ -394,7 +394,7 @@
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_starts_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_eq.rs.html b/doc/src/lib/assert_status/assert_status_code_value_eq.rs.html
index d476da3f1..48ea5311a 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_eq.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_eq.rs.html
@@ -546,7 +546,7 @@
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_eq_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_eq_x.rs.html b/doc/src/lib/assert_status/assert_status_code_value_eq_x.rs.html
index 886488908..68902f6c4 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_eq_x.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_eq_x.rs.html
@@ -520,7 +520,7 @@
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_eq_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_ge.rs.html b/doc/src/lib/assert_status/assert_status_code_value_ge.rs.html
index f8245744b..db420b43e 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_ge.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_ge.rs.html
@@ -522,7 +522,7 @@
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ge_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_ge_x.rs.html b/doc/src/lib/assert_status/assert_status_code_value_ge_x.rs.html
index 6daa65f4a..b14f3d8d4 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_ge_x.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_ge_x.rs.html
@@ -498,7 +498,7 @@
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ge_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_gt.rs.html b/doc/src/lib/assert_status/assert_status_code_value_gt.rs.html
index f9c38478b..8bdb24166 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_gt.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_gt.rs.html
@@ -546,7 +546,7 @@
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_gt_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_gt_x.rs.html b/doc/src/lib/assert_status/assert_status_code_value_gt_x.rs.html
index a95110132..3325c8a24 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_gt_x.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_gt_x.rs.html
@@ -520,7 +520,7 @@
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_gt_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_le.rs.html b/doc/src/lib/assert_status/assert_status_code_value_le.rs.html
index e058c6ce6..c5478b1b2 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_le.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_le.rs.html
@@ -522,7 +522,7 @@
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_le_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_le_x.rs.html b/doc/src/lib/assert_status/assert_status_code_value_le_x.rs.html
index 6555312d6..105be30ec 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_le_x.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_le_x.rs.html
@@ -498,7 +498,7 @@
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_le_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_lt.rs.html b/doc/src/lib/assert_status/assert_status_code_value_lt.rs.html
index 6632fa0f9..b17ac0885 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_lt.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_lt.rs.html
@@ -546,7 +546,7 @@
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_lt_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_lt_x.rs.html b/doc/src/lib/assert_status/assert_status_code_value_lt_x.rs.html
index aedba3f23..7af8d5a9f 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_lt_x.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_lt_x.rs.html
@@ -520,7 +520,7 @@
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_lt_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_ne.rs.html b/doc/src/lib/assert_status/assert_status_code_value_ne.rs.html
index 93d9e6832..32c8b1b81 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_ne.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_ne.rs.html
@@ -522,7 +522,7 @@
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ne_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_code_value_ne_x.rs.html b/doc/src/lib/assert_status/assert_status_code_value_ne_x.rs.html
index 88f7f24ed..a56646d7c 100644
--- a/doc/src/lib/assert_status/assert_status_code_value_ne_x.rs.html
+++ b/doc/src/lib/assert_status/assert_status_code_value_ne_x.rs.html
@@ -498,7 +498,7 @@
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ne_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_success.rs.html b/doc/src/lib/assert_status/assert_status_success.rs.html
index d743f847d..cc89a11e1 100644
--- a/doc/src/lib/assert_status/assert_status_success.rs.html
+++ b/doc/src/lib/assert_status/assert_status_success.rs.html
@@ -384,7 +384,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_status_success_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_status/assert_status_success_false.rs.html b/doc/src/lib/assert_status/assert_status_success_false.rs.html
index 6edce2121..8a7048b5c 100644
--- a/doc/src/lib/assert_status/assert_status_success_false.rs.html
+++ b/doc/src/lib/assert_status/assert_status_success_false.rs.html
@@ -384,7 +384,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_status_success_false_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_success/assert_success.rs.html b/doc/src/lib/assert_success/assert_success.rs.html
index 52179f17f..2edf51850 100644
--- a/doc/src/lib/assert_success/assert_success.rs.html
+++ b/doc/src/lib/assert_success/assert_success.rs.html
@@ -376,7 +376,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_success_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/assert_success/assert_success_false.rs.html b/doc/src/lib/assert_success/assert_success_false.rs.html
index 82e6b58f3..1f49d8217 100644
--- a/doc/src/lib/assert_success/assert_success_false.rs.html
+++ b/doc/src/lib/assert_success/assert_success_false.rs.html
@@ -376,7 +376,7 @@
($a:expr, $($message:tt)+) => {{
match $crate::assert_success_false_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/doc/src/lib/lib.rs.html b/doc/src/lib/lib.rs.html
index b11314249..295e3b9a0 100644
--- a/doc/src/lib/lib.rs.html
+++ b/doc/src/lib/lib.rs.html
@@ -299,6 +299,10 @@
299
300
301
+302
+303
+304
+305
§Introduct
//! # Assertables: Rust crate of assert macros for testing
//!
//! Assertables is a Rust crate that provides many assert macros
@@ -318,15 +322,19 @@
//! * Test values with
//! [assert_lt](module@crate::assert_lt),
//! [assert_gt](module@crate::assert_gt),
-//! […](module@crate::assert_approx)
-//! * Test results with
-//! [assert_ok](module@crate::assert_ok),
-//! [assert_err](module@crate::assert_err),
-//! […](module@crate::assert_ok::assert_ok_eq_x)
+//! […](https://docs.rs/assertables)
//! * Test groups with
//! [assert_all](module@crate::assert_all),
//! [assert_any](module@crate::assert_any),
-//! […](module@crate::assert_iter)
+//! […](https://docs.rs/assertables)
+//! * Test results with
+//! [assert_ok](module@crate::assert_ok),
+//! [assert_err](module@crate::assert_err),
+//! […](https://docs.rs/assertables)
+//! * Test options with
+//! [assert_some](module@crate::assert_some),
+//! [assert_none](module@crate::assert_none),
+//! […](https://docs.rs/assertables)
//! * Test matching with
//! [assert_matches](module@crate::assert_matches),
//! [assert_is_match](module@crate::assert_is_match),
@@ -415,12 +423,12 @@
//!
//! Values:
//!
-//! * [`assert_eq!(a, b)`](module@crate::assert_eq) ≈ a = b
-//! * [`assert_ne!(a, b)`](module@crate::assert_ne) ≈ a ≠ b
-//! * [`assert_lt!(a, b)`](module@crate::assert_lt) ≈ a < b
-//! * [`assert_le!(a, b)`](module@crate::assert_le) ≈ a ≤ b
-//! * [`assert_gt!(a, b)`](module@crate::assert_gt) ≈ a > b
-//! * [`assert_ge!(a, b)`](module@crate::assert_ge) ≈ a ≥ b
+//! * [`assert_eq!(a, b)`](module@crate::assert_eq) ≈ a = b ≈ equal to
+//! * [`assert_ne!(a, b)`](module@crate::assert_ne) ≈ a ≠ b ≈ not equal to
+//! * [`assert_lt!(a, b)`](module@crate::assert_lt) ≈ a < b ≈ less than
+//! * [`assert_le!(a, b)`](module@crate::assert_le) ≈ a ≤ b ≈ less than or equal to
+//! * [`assert_gt!(a, b)`](module@crate::assert_gt) ≈ a > b ≈ greater than
+//! * [`assert_ge!(a, b)`](module@crate::assert_ge) ≈ a ≥ b ≈ greater than or equal to
//!
//! Nearness:
//!
@@ -450,19 +458,19 @@
//!
//! * [`assert_ok!(a)`](module@crate::assert_ok) ≈ a is Ok
//! * [`assert_err!(a)`](module@crate::assert_err) ≈ a is Err
-//! * [`assert_ok_eq_x!(a, x)`](module@crate::assert_ok::assert_ok_eq_x) ≈ a is Ok unwrap = x
+//! * [`assert_ok_eq_x!(a, x)`](module@crate::assert_ok::assert_ok_eq_x) ≈ a is Ok ⇒ unwrap = x
//!
//! Options:
//!
//! * [`assert_some!(a)`](module@crate::assert_some) ≈ a is Some
//! * [`assert_none!(a)`](module@crate::assert_none) ≈ a is None
-//! * [`assert_some_eq_x!(a, x)`](module@crate::assert_some::assert_some_eq_x) ≈ a is Some unwrap = x
+//! * [`assert_some_eq_x!(a, x)`](module@crate::assert_some::assert_some_eq_x) ≈ a is Some ⇒ unwrap = x
//!
//! Polls:
//!
//! * [`assert_ready!(a)`](module@crate::assert_ready) ≈ a is Ready
//! * [`assert_pending!(a)`](module@crate::assert_pending) ≈ a is Pending
-//! * [`assert_ready_eq_x!(a, x)`](module@crate::assert_ready::assert_ready_eq_x) ≈ a is Ready unwrap = x
+//! * [`assert_ready_eq_x!(a, x)`](module@crate::assert_ready::assert_ready_eq_x) ≈ a is Ready ⇒ unwrap = x
//!
//! Collections:
//!
diff --git a/src/assert_abs_diff/assert_abs_diff_eq.rs b/src/assert_abs_diff/assert_abs_diff_eq.rs
index 0f5c397e8..cf4a17ce2 100644
--- a/src/assert_abs_diff/assert_abs_diff_eq.rs
+++ b/src/assert_abs_diff/assert_abs_diff_eq.rs
@@ -213,7 +213,7 @@ macro_rules! assert_abs_diff_eq {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_eq_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_abs_diff/assert_abs_diff_ge.rs b/src/assert_abs_diff/assert_abs_diff_ge.rs
index 3638a0250..9c0d4596a 100644
--- a/src/assert_abs_diff/assert_abs_diff_ge.rs
+++ b/src/assert_abs_diff/assert_abs_diff_ge.rs
@@ -199,7 +199,7 @@ macro_rules! assert_abs_diff_ge {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_ge_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_abs_diff/assert_abs_diff_gt.rs b/src/assert_abs_diff/assert_abs_diff_gt.rs
index 439893c7c..d9f9a2efb 100644
--- a/src/assert_abs_diff/assert_abs_diff_gt.rs
+++ b/src/assert_abs_diff/assert_abs_diff_gt.rs
@@ -213,7 +213,7 @@ macro_rules! assert_abs_diff_gt {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_gt_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_abs_diff/assert_abs_diff_le.rs b/src/assert_abs_diff/assert_abs_diff_le.rs
index 622216b51..763998cc2 100644
--- a/src/assert_abs_diff/assert_abs_diff_le.rs
+++ b/src/assert_abs_diff/assert_abs_diff_le.rs
@@ -199,7 +199,7 @@ macro_rules! assert_abs_diff_le {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_le_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_abs_diff/assert_abs_diff_lt.rs b/src/assert_abs_diff/assert_abs_diff_lt.rs
index 80118ea36..51cae4488 100644
--- a/src/assert_abs_diff/assert_abs_diff_lt.rs
+++ b/src/assert_abs_diff/assert_abs_diff_lt.rs
@@ -213,7 +213,7 @@ macro_rules! assert_abs_diff_lt {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_lt_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_abs_diff/assert_abs_diff_ne.rs b/src/assert_abs_diff/assert_abs_diff_ne.rs
index ee7965db8..4238c9dca 100644
--- a/src/assert_abs_diff/assert_abs_diff_ne.rs
+++ b/src/assert_abs_diff/assert_abs_diff_ne.rs
@@ -199,7 +199,7 @@ macro_rules! assert_abs_diff_ne {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_abs_diff_ne_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_all.rs b/src/assert_all.rs
index ddcd1ecda..c3622a6b6 100644
--- a/src/assert_all.rs
+++ b/src/assert_all.rs
@@ -157,7 +157,7 @@ macro_rules! assert_all {
($collection:expr, $predicate:expr, $($message:tt)+) => {{
match $crate::assert_all_as_result!($collection, $predicate) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_any.rs b/src/assert_any.rs
index f34a49201..bb091169f 100644
--- a/src/assert_any.rs
+++ b/src/assert_any.rs
@@ -157,7 +157,7 @@ macro_rules! assert_any {
($collection:expr, $predicate:expr, $($message:tt)+) => {{
match $crate::assert_any_as_result!($collection, $predicate) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_approx/assert_approx_eq.rs b/src/assert_approx/assert_approx_eq.rs
index adcaee62d..16664f7b4 100644
--- a/src/assert_approx/assert_approx_eq.rs
+++ b/src/assert_approx/assert_approx_eq.rs
@@ -238,7 +238,7 @@ macro_rules! assert_approx_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_approx_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_approx/assert_approx_ne.rs b/src/assert_approx/assert_approx_ne.rs
index e09c4407b..ec09084ac 100644
--- a/src/assert_approx/assert_approx_ne.rs
+++ b/src/assert_approx/assert_approx_ne.rs
@@ -238,7 +238,7 @@ macro_rules! assert_approx_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_approx_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_bag/assert_bag_eq.rs b/src/assert_bag/assert_bag_eq.rs
index 8f58a781d..bb7738980 100644
--- a/src/assert_bag/assert_bag_eq.rs
+++ b/src/assert_bag/assert_bag_eq.rs
@@ -181,7 +181,7 @@ macro_rules! assert_bag_eq {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_eq_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_bag/assert_bag_ne.rs b/src/assert_bag/assert_bag_ne.rs
index dd3151aa6..e76ef7d8b 100644
--- a/src/assert_bag/assert_bag_ne.rs
+++ b/src/assert_bag/assert_bag_ne.rs
@@ -183,7 +183,7 @@ macro_rules! assert_bag_ne {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_ne_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_bag/assert_bag_subbag.rs b/src/assert_bag/assert_bag_subbag.rs
index 48f5eb752..d60172891 100644
--- a/src/assert_bag/assert_bag_subbag.rs
+++ b/src/assert_bag/assert_bag_subbag.rs
@@ -207,7 +207,7 @@ macro_rules! assert_bag_subbag {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_subbag_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_bag/assert_bag_superbag.rs b/src/assert_bag/assert_bag_superbag.rs
index b5397264f..bcc969b5b 100644
--- a/src/assert_bag/assert_bag_superbag.rs
+++ b/src/assert_bag/assert_bag_superbag.rs
@@ -207,7 +207,7 @@ macro_rules! assert_bag_superbag {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_bag_superbag_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_eq.rs b/src/assert_command/assert_command_stderr_eq.rs
index df1bd598e..96425f795 100644
--- a/src/assert_command/assert_command_stderr_eq.rs
+++ b/src/assert_command/assert_command_stderr_eq.rs
@@ -234,7 +234,7 @@ macro_rules! assert_command_stderr_eq {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_eq_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_eq_x.rs b/src/assert_command/assert_command_stderr_eq_x.rs
index feb1c9c72..769d10b93 100644
--- a/src/assert_command/assert_command_stderr_eq_x.rs
+++ b/src/assert_command/assert_command_stderr_eq_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stderr_eq_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_eq_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_ge.rs b/src/assert_command/assert_command_stderr_ge.rs
index 064fbbe6c..9320cd8f7 100644
--- a/src/assert_command/assert_command_stderr_ge.rs
+++ b/src/assert_command/assert_command_stderr_ge.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stderr_ge {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ge_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_ge_x.rs b/src/assert_command/assert_command_stderr_ge_x.rs
index 816b83155..3f57d915c 100644
--- a/src/assert_command/assert_command_stderr_ge_x.rs
+++ b/src/assert_command/assert_command_stderr_ge_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_command_stderr_ge_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ge_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_gt.rs b/src/assert_command/assert_command_stderr_gt.rs
index d6ede94b1..8ab52ec0a 100644
--- a/src/assert_command/assert_command_stderr_gt.rs
+++ b/src/assert_command/assert_command_stderr_gt.rs
@@ -234,7 +234,7 @@ macro_rules! assert_command_stderr_gt {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_gt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_gt_x.rs b/src/assert_command/assert_command_stderr_gt_x.rs
index abf70d28a..b1c5be9b0 100644
--- a/src/assert_command/assert_command_stderr_gt_x.rs
+++ b/src/assert_command/assert_command_stderr_gt_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stderr_gt_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_gt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_le.rs b/src/assert_command/assert_command_stderr_le.rs
index a9500313b..a53c738af 100644
--- a/src/assert_command/assert_command_stderr_le.rs
+++ b/src/assert_command/assert_command_stderr_le.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stderr_le {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_le_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_le_x.rs b/src/assert_command/assert_command_stderr_le_x.rs
index e9572086c..fa77c4a9b 100644
--- a/src/assert_command/assert_command_stderr_le_x.rs
+++ b/src/assert_command/assert_command_stderr_le_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_command_stderr_le_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_le_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_lt.rs b/src/assert_command/assert_command_stderr_lt.rs
index 4113da1ac..175a0f7cc 100644
--- a/src/assert_command/assert_command_stderr_lt.rs
+++ b/src/assert_command/assert_command_stderr_lt.rs
@@ -234,7 +234,7 @@ macro_rules! assert_command_stderr_lt {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_lt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_lt_x.rs b/src/assert_command/assert_command_stderr_lt_x.rs
index 03761b8af..d729ae511 100644
--- a/src/assert_command/assert_command_stderr_lt_x.rs
+++ b/src/assert_command/assert_command_stderr_lt_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stderr_lt_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_lt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_ne.rs b/src/assert_command/assert_command_stderr_ne.rs
index 5298e7b6a..3fac8b1c5 100644
--- a/src/assert_command/assert_command_stderr_ne.rs
+++ b/src/assert_command/assert_command_stderr_ne.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stderr_ne {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ne_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_ne_x.rs b/src/assert_command/assert_command_stderr_ne_x.rs
index 7785a2fcd..b131a6fad 100644
--- a/src/assert_command/assert_command_stderr_ne_x.rs
+++ b/src/assert_command/assert_command_stderr_ne_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_command_stderr_ne_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_ne_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_string_contains.rs b/src/assert_command/assert_command_stderr_string_contains.rs
index 4657a48cd..4657bd8ec 100644
--- a/src/assert_command/assert_command_stderr_string_contains.rs
+++ b/src/assert_command/assert_command_stderr_string_contains.rs
@@ -206,7 +206,7 @@ macro_rules! assert_command_stderr_string_contains {
($command:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_string_contains_as_result!($command, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stderr_string_is_match.rs b/src/assert_command/assert_command_stderr_string_is_match.rs
index 1cb1a0b52..ef68feb88 100644
--- a/src/assert_command/assert_command_stderr_string_is_match.rs
+++ b/src/assert_command/assert_command_stderr_string_is_match.rs
@@ -209,7 +209,7 @@ macro_rules! assert_command_stderr_string_is_match {
($command:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_command_stderr_string_is_match_as_result!($command, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_eq.rs b/src/assert_command/assert_command_stdout_eq.rs
index beab1d507..817b09e5c 100644
--- a/src/assert_command/assert_command_stdout_eq.rs
+++ b/src/assert_command/assert_command_stdout_eq.rs
@@ -234,7 +234,7 @@ macro_rules! assert_command_stdout_eq {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_eq_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_eq_x.rs b/src/assert_command/assert_command_stdout_eq_x.rs
index b2ce3e8c4..e6cc77a25 100644
--- a/src/assert_command/assert_command_stdout_eq_x.rs
+++ b/src/assert_command/assert_command_stdout_eq_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stdout_eq_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_eq_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_ge.rs b/src/assert_command/assert_command_stdout_ge.rs
index a5adb416b..18939e000 100644
--- a/src/assert_command/assert_command_stdout_ge.rs
+++ b/src/assert_command/assert_command_stdout_ge.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stdout_ge {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ge_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_ge_x.rs b/src/assert_command/assert_command_stdout_ge_x.rs
index 800d1c5af..00dabb3ba 100644
--- a/src/assert_command/assert_command_stdout_ge_x.rs
+++ b/src/assert_command/assert_command_stdout_ge_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_command_stdout_ge_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ge_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_gt.rs b/src/assert_command/assert_command_stdout_gt.rs
index 972a91187..4dfc00823 100644
--- a/src/assert_command/assert_command_stdout_gt.rs
+++ b/src/assert_command/assert_command_stdout_gt.rs
@@ -234,7 +234,7 @@ macro_rules! assert_command_stdout_gt {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_gt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_gt_x.rs b/src/assert_command/assert_command_stdout_gt_x.rs
index a8fdf91ff..613e39b34 100644
--- a/src/assert_command/assert_command_stdout_gt_x.rs
+++ b/src/assert_command/assert_command_stdout_gt_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stdout_gt_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_gt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_le.rs b/src/assert_command/assert_command_stdout_le.rs
index ee83f090f..9f1fbf40b 100644
--- a/src/assert_command/assert_command_stdout_le.rs
+++ b/src/assert_command/assert_command_stdout_le.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stdout_le {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_le_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_le_x.rs b/src/assert_command/assert_command_stdout_le_x.rs
index 571a6cb42..9b2174dec 100644
--- a/src/assert_command/assert_command_stdout_le_x.rs
+++ b/src/assert_command/assert_command_stdout_le_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_command_stdout_le_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_le_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_lt.rs b/src/assert_command/assert_command_stdout_lt.rs
index bdf0c6997..b0034dc82 100644
--- a/src/assert_command/assert_command_stdout_lt.rs
+++ b/src/assert_command/assert_command_stdout_lt.rs
@@ -234,7 +234,7 @@ macro_rules! assert_command_stdout_lt {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_lt_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_lt_x.rs b/src/assert_command/assert_command_stdout_lt_x.rs
index 537ef92f6..c685a4964 100644
--- a/src/assert_command/assert_command_stdout_lt_x.rs
+++ b/src/assert_command/assert_command_stdout_lt_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stdout_lt_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_lt_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_ne.rs b/src/assert_command/assert_command_stdout_ne.rs
index aaf0bb61d..eb390af7c 100644
--- a/src/assert_command/assert_command_stdout_ne.rs
+++ b/src/assert_command/assert_command_stdout_ne.rs
@@ -226,7 +226,7 @@ macro_rules! assert_command_stdout_ne {
($a_command:expr, $b_command:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ne_as_result!($a_command, $b_command) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_ne_x.rs b/src/assert_command/assert_command_stdout_ne_x.rs
index e38421b43..1b20573ed 100644
--- a/src/assert_command/assert_command_stdout_ne_x.rs
+++ b/src/assert_command/assert_command_stdout_ne_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_command_stdout_ne_x {
($a_command:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_ne_x_as_result!($a_command, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_string_contains.rs b/src/assert_command/assert_command_stdout_string_contains.rs
index a71023bc6..f62e31a0c 100644
--- a/src/assert_command/assert_command_stdout_string_contains.rs
+++ b/src/assert_command/assert_command_stdout_string_contains.rs
@@ -206,7 +206,7 @@ macro_rules! assert_command_stdout_string_contains {
($command:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_string_contains_as_result!($command, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_command/assert_command_stdout_string_is_match.rs b/src/assert_command/assert_command_stdout_string_is_match.rs
index 6357f67d3..74fff0ca0 100644
--- a/src/assert_command/assert_command_stdout_string_is_match.rs
+++ b/src/assert_command/assert_command_stdout_string_is_match.rs
@@ -209,7 +209,7 @@ macro_rules! assert_command_stdout_string_is_match {
($command:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_command_stdout_string_is_match_as_result!($command, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_contains/assert_contains.rs b/src/assert_contains/assert_contains.rs
index 6d30650ef..fffb98309 100644
--- a/src/assert_contains/assert_contains.rs
+++ b/src/assert_contains/assert_contains.rs
@@ -238,7 +238,7 @@ macro_rules! assert_contains {
($container:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_contains_as_result!($container, $containee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_contains/assert_not_contains.rs b/src/assert_contains/assert_not_contains.rs
index 0ba967344..9c154c45f 100644
--- a/src/assert_contains/assert_not_contains.rs
+++ b/src/assert_contains/assert_not_contains.rs
@@ -243,7 +243,7 @@ macro_rules! assert_not_contains {
($container:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_not_contains_as_result!($container, $containee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_eq.rs b/src/assert_count/assert_count_eq.rs
index 42f5874b7..e7ebe8354 100644
--- a/src/assert_count/assert_count_eq.rs
+++ b/src/assert_count/assert_count_eq.rs
@@ -195,7 +195,7 @@ macro_rules! assert_count_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_eq_x.rs b/src/assert_count/assert_count_eq_x.rs
index a8aca2a0b..e9170854c 100644
--- a/src/assert_count/assert_count_eq_x.rs
+++ b/src/assert_count/assert_count_eq_x.rs
@@ -188,7 +188,7 @@ macro_rules! assert_count_eq_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_ge.rs b/src/assert_count/assert_count_ge.rs
index 2be83dafe..7a5b14721 100644
--- a/src/assert_count/assert_count_ge.rs
+++ b/src/assert_count/assert_count_ge.rs
@@ -183,7 +183,7 @@ macro_rules! assert_count_ge {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ge_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_ge_x.rs b/src/assert_count/assert_count_ge_x.rs
index b5a3bf9df..6a6f6813f 100644
--- a/src/assert_count/assert_count_ge_x.rs
+++ b/src/assert_count/assert_count_ge_x.rs
@@ -177,7 +177,7 @@ macro_rules! assert_count_ge_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ge_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_gt.rs b/src/assert_count/assert_count_gt.rs
index c9ad225d3..f6cb539a7 100644
--- a/src/assert_count/assert_count_gt.rs
+++ b/src/assert_count/assert_count_gt.rs
@@ -195,7 +195,7 @@ macro_rules! assert_count_gt {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_gt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_gt_x.rs b/src/assert_count/assert_count_gt_x.rs
index 12a0584bf..2b4a27b41 100644
--- a/src/assert_count/assert_count_gt_x.rs
+++ b/src/assert_count/assert_count_gt_x.rs
@@ -188,7 +188,7 @@ macro_rules! assert_count_gt_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_gt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_le.rs b/src/assert_count/assert_count_le.rs
index 35f89dcf8..c6c2ff026 100644
--- a/src/assert_count/assert_count_le.rs
+++ b/src/assert_count/assert_count_le.rs
@@ -183,7 +183,7 @@ macro_rules! assert_count_le {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_le_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_le_x.rs b/src/assert_count/assert_count_le_x.rs
index 54c268bf1..37f6a5aa1 100644
--- a/src/assert_count/assert_count_le_x.rs
+++ b/src/assert_count/assert_count_le_x.rs
@@ -177,7 +177,7 @@ macro_rules! assert_count_le_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_le_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_lt.rs b/src/assert_count/assert_count_lt.rs
index 67ef57ed9..a9a599481 100644
--- a/src/assert_count/assert_count_lt.rs
+++ b/src/assert_count/assert_count_lt.rs
@@ -195,7 +195,7 @@ macro_rules! assert_count_lt {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_lt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_lt_x.rs b/src/assert_count/assert_count_lt_x.rs
index 866fe1798..8ee184ae0 100644
--- a/src/assert_count/assert_count_lt_x.rs
+++ b/src/assert_count/assert_count_lt_x.rs
@@ -188,7 +188,7 @@ macro_rules! assert_count_lt_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_lt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_ne.rs b/src/assert_count/assert_count_ne.rs
index 3ff308492..56f537b2b 100644
--- a/src/assert_count/assert_count_ne.rs
+++ b/src/assert_count/assert_count_ne.rs
@@ -183,7 +183,7 @@ macro_rules! assert_count_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_count/assert_count_ne_x.rs b/src/assert_count/assert_count_ne_x.rs
index cfc9b615d..1e7367a3c 100644
--- a/src/assert_count/assert_count_ne_x.rs
+++ b/src/assert_count/assert_count_ne_x.rs
@@ -177,7 +177,7 @@ macro_rules! assert_count_ne_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_count_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ends_with/assert_ends_with.rs b/src/assert_ends_with/assert_ends_with.rs
index b298be313..a828fa92c 100644
--- a/src/assert_ends_with/assert_ends_with.rs
+++ b/src/assert_ends_with/assert_ends_with.rs
@@ -174,7 +174,7 @@ macro_rules! assert_ends_with {
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_ends_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ends_with/assert_not_ends_with.rs b/src/assert_ends_with/assert_not_ends_with.rs
index e848058fa..48bfeb6bd 100644
--- a/src/assert_ends_with/assert_not_ends_with.rs
+++ b/src/assert_ends_with/assert_not_ends_with.rs
@@ -174,7 +174,7 @@ macro_rules! assert_not_ends_with {
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_not_ends_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_err/assert_err.rs b/src/assert_err/assert_err.rs
index 182f83d4e..aafd20c25 100644
--- a/src/assert_err/assert_err.rs
+++ b/src/assert_err/assert_err.rs
@@ -141,7 +141,7 @@ macro_rules! assert_err {
($a:expr, $($message:tt)+) => {{
match $crate::assert_err_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_err/assert_err_eq.rs b/src/assert_err/assert_err_eq.rs
index 6738cf185..61e90539a 100644
--- a/src/assert_err/assert_err_eq.rs
+++ b/src/assert_err/assert_err_eq.rs
@@ -209,7 +209,7 @@ macro_rules! assert_err_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_err/assert_err_eq_x.rs b/src/assert_err/assert_err_eq_x.rs
index b26c88145..29b9ca1c0 100644
--- a/src/assert_err/assert_err_eq_x.rs
+++ b/src/assert_err/assert_err_eq_x.rs
@@ -204,7 +204,7 @@ macro_rules! assert_err_eq_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_err/assert_err_ne.rs b/src/assert_err/assert_err_ne.rs
index 4b333a893..6ca96c618 100644
--- a/src/assert_err/assert_err_ne.rs
+++ b/src/assert_err/assert_err_ne.rs
@@ -209,7 +209,7 @@ macro_rules! assert_err_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_err/assert_err_ne_x.rs b/src/assert_err/assert_err_ne_x.rs
index 4b39f4c1b..1ea832a6f 100644
--- a/src/assert_err/assert_err_ne_x.rs
+++ b/src/assert_err/assert_err_ne_x.rs
@@ -204,7 +204,7 @@ macro_rules! assert_err_ne_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_err_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn/assert_fn_eq.rs b/src/assert_fn/assert_fn_eq.rs
index ccee8eff3..8282df1ec 100644
--- a/src/assert_fn/assert_fn_eq.rs
+++ b/src/assert_fn/assert_fn_eq.rs
@@ -267,7 +267,7 @@ macro_rules! assert_fn_eq {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_eq_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -283,7 +283,7 @@ macro_rules! assert_fn_eq {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_eq_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_eq_x.rs b/src/assert_fn/assert_fn_eq_x.rs
index ad4c82afe..0563774c1 100644
--- a/src/assert_fn/assert_fn_eq_x.rs
+++ b/src/assert_fn/assert_fn_eq_x.rs
@@ -261,7 +261,7 @@ macro_rules! assert_fn_eq_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -277,7 +277,7 @@ macro_rules! assert_fn_eq_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_ge.rs b/src/assert_fn/assert_fn_ge.rs
index cdd8e26a6..299b35b63 100644
--- a/src/assert_fn/assert_fn_ge.rs
+++ b/src/assert_fn/assert_fn_ge.rs
@@ -281,7 +281,7 @@ macro_rules! assert_fn_ge {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ge_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -297,7 +297,7 @@ macro_rules! assert_fn_ge {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ge_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_ge_x.rs b/src/assert_fn/assert_fn_ge_x.rs
index d5ed920c6..59502b53a 100644
--- a/src/assert_fn/assert_fn_ge_x.rs
+++ b/src/assert_fn/assert_fn_ge_x.rs
@@ -280,7 +280,7 @@ macro_rules! assert_fn_ge_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ge_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -296,7 +296,7 @@ macro_rules! assert_fn_ge_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ge_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_gt.rs b/src/assert_fn/assert_fn_gt.rs
index d6f66e46a..6676d9e65 100644
--- a/src/assert_fn/assert_fn_gt.rs
+++ b/src/assert_fn/assert_fn_gt.rs
@@ -305,7 +305,7 @@ macro_rules! assert_fn_gt {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_gt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -321,7 +321,7 @@ macro_rules! assert_fn_gt {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_gt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_gt_x.rs b/src/assert_fn/assert_fn_gt_x.rs
index f4975ac8e..269994884 100644
--- a/src/assert_fn/assert_fn_gt_x.rs
+++ b/src/assert_fn/assert_fn_gt_x.rs
@@ -300,7 +300,7 @@ macro_rules! assert_fn_gt_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_gt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -316,7 +316,7 @@ macro_rules! assert_fn_gt_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_gt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_le.rs b/src/assert_fn/assert_fn_le.rs
index 117de7563..98256688d 100644
--- a/src/assert_fn/assert_fn_le.rs
+++ b/src/assert_fn/assert_fn_le.rs
@@ -283,7 +283,7 @@ macro_rules! assert_fn_le {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_le_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -299,7 +299,7 @@ macro_rules! assert_fn_le {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_le_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_le_x.rs b/src/assert_fn/assert_fn_le_x.rs
index 419cf4b02..564a3561d 100644
--- a/src/assert_fn/assert_fn_le_x.rs
+++ b/src/assert_fn/assert_fn_le_x.rs
@@ -279,7 +279,7 @@ macro_rules! assert_fn_le_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_le_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -295,7 +295,7 @@ macro_rules! assert_fn_le_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_le_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_lt.rs b/src/assert_fn/assert_fn_lt.rs
index 4697516d3..7b8334908 100644
--- a/src/assert_fn/assert_fn_lt.rs
+++ b/src/assert_fn/assert_fn_lt.rs
@@ -305,7 +305,7 @@ macro_rules! assert_fn_lt {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_lt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -321,7 +321,7 @@ macro_rules! assert_fn_lt {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_lt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_lt_x.rs b/src/assert_fn/assert_fn_lt_x.rs
index 063de76f5..cb81c849d 100644
--- a/src/assert_fn/assert_fn_lt_x.rs
+++ b/src/assert_fn/assert_fn_lt_x.rs
@@ -300,7 +300,7 @@ macro_rules! assert_fn_lt_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_lt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -316,7 +316,7 @@ macro_rules! assert_fn_lt_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_lt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_ne.rs b/src/assert_fn/assert_fn_ne.rs
index 7bffbcd2f..9197e5b3e 100644
--- a/src/assert_fn/assert_fn_ne.rs
+++ b/src/assert_fn/assert_fn_ne.rs
@@ -267,7 +267,7 @@ macro_rules! assert_fn_ne {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ne_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -283,7 +283,7 @@ macro_rules! assert_fn_ne {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ne_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn/assert_fn_ne_x.rs b/src/assert_fn/assert_fn_ne_x.rs
index d81e1f96f..fd992cd22 100644
--- a/src/assert_fn/assert_fn_ne_x.rs
+++ b/src/assert_fn/assert_fn_ne_x.rs
@@ -259,7 +259,7 @@ macro_rules! assert_fn_ne_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ne_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -275,7 +275,7 @@ macro_rules! assert_fn_ne_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ne_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn_err/assert_fn_err_eq.rs b/src/assert_fn_err/assert_fn_err_eq.rs
index cfda9a84b..36d3c4568 100644
--- a/src/assert_fn_err/assert_fn_err_eq.rs
+++ b/src/assert_fn_err/assert_fn_err_eq.rs
@@ -333,7 +333,7 @@ macro_rules! assert_fn_err_eq {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -349,7 +349,7 @@ macro_rules! assert_fn_err_eq {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn_err/assert_fn_err_eq_x.rs b/src/assert_fn_err/assert_fn_err_eq_x.rs
index aa6a22cdb..6eecd7672 100644
--- a/src/assert_fn_err/assert_fn_err_eq_x.rs
+++ b/src/assert_fn_err/assert_fn_err_eq_x.rs
@@ -313,7 +313,7 @@ macro_rules! assert_fn_err_eq_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -329,7 +329,7 @@ macro_rules! assert_fn_err_eq_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_eq_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
diff --git a/src/assert_fn_err/assert_fn_err_ge.rs b/src/assert_fn_err/assert_fn_err_ge.rs
index 27ad61b38..327d4c5d1 100644
--- a/src/assert_fn_err/assert_fn_err_ge.rs
+++ b/src/assert_fn_err/assert_fn_err_ge.rs
@@ -347,7 +347,7 @@ macro_rules! assert_fn_err_ge {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -363,7 +363,7 @@ macro_rules! assert_fn_err_ge {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_ge_x.rs b/src/assert_fn_err/assert_fn_err_ge_x.rs
index 8d33a7833..505253d78 100644
--- a/src/assert_fn_err/assert_fn_err_ge_x.rs
+++ b/src/assert_fn_err/assert_fn_err_ge_x.rs
@@ -334,7 +334,7 @@ macro_rules! assert_fn_err_ge_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -350,7 +350,7 @@ macro_rules! assert_fn_err_ge_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ge_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_gt.rs b/src/assert_fn_err/assert_fn_err_gt.rs
index 549d1356f..f1c7ea802 100644
--- a/src/assert_fn_err/assert_fn_err_gt.rs
+++ b/src/assert_fn_err/assert_fn_err_gt.rs
@@ -371,7 +371,7 @@ macro_rules! assert_fn_err_gt {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -387,7 +387,7 @@ macro_rules! assert_fn_err_gt {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_gt_x.rs b/src/assert_fn_err/assert_fn_err_gt_x.rs
index bb156fb11..ed162a9ba 100644
--- a/src/assert_fn_err/assert_fn_err_gt_x.rs
+++ b/src/assert_fn_err/assert_fn_err_gt_x.rs
@@ -358,7 +358,7 @@ macro_rules! assert_fn_err_gt_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -374,7 +374,7 @@ macro_rules! assert_fn_err_gt_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_gt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_le.rs b/src/assert_fn_err/assert_fn_err_le.rs
index b17eed9ca..d5035ad6d 100644
--- a/src/assert_fn_err/assert_fn_err_le.rs
+++ b/src/assert_fn_err/assert_fn_err_le.rs
@@ -347,7 +347,7 @@ macro_rules! assert_fn_err_le {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_le_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -363,7 +363,7 @@ macro_rules! assert_fn_err_le {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_le_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_le_x.rs b/src/assert_fn_err/assert_fn_err_le_x.rs
index 5291690bc..054b0504f 100644
--- a/src/assert_fn_err/assert_fn_err_le_x.rs
+++ b/src/assert_fn_err/assert_fn_err_le_x.rs
@@ -334,7 +334,7 @@ macro_rules! assert_fn_err_le_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_le_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -350,7 +350,7 @@ macro_rules! assert_fn_err_le_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_le_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_lt.rs b/src/assert_fn_err/assert_fn_err_lt.rs
index ccdec4dc3..5881d5c7d 100644
--- a/src/assert_fn_err/assert_fn_err_lt.rs
+++ b/src/assert_fn_err/assert_fn_err_lt.rs
@@ -365,7 +365,7 @@ macro_rules! assert_fn_err_lt {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -381,7 +381,7 @@ macro_rules! assert_fn_err_lt {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_lt_x.rs b/src/assert_fn_err/assert_fn_err_lt_x.rs
index e80335af8..563e2297c 100644
--- a/src/assert_fn_err/assert_fn_err_lt_x.rs
+++ b/src/assert_fn_err/assert_fn_err_lt_x.rs
@@ -358,7 +358,7 @@ macro_rules! assert_fn_err_lt_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -374,7 +374,7 @@ macro_rules! assert_fn_err_lt_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_lt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_ne.rs b/src/assert_fn_err/assert_fn_err_ne.rs
index f2ddd8e77..1a902e61c 100644
--- a/src/assert_fn_err/assert_fn_err_ne.rs
+++ b/src/assert_fn_err/assert_fn_err_ne.rs
@@ -333,7 +333,7 @@ macro_rules! assert_fn_err_ne {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -349,7 +349,7 @@ macro_rules! assert_fn_err_ne {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_err/assert_fn_err_ne_x.rs b/src/assert_fn_err/assert_fn_err_ne_x.rs
index 44ca83c3d..f3531bf11 100644
--- a/src/assert_fn_err/assert_fn_err_ne_x.rs
+++ b/src/assert_fn_err/assert_fn_err_ne_x.rs
@@ -319,7 +319,7 @@ macro_rules! assert_fn_err_ne_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -335,7 +335,7 @@ macro_rules! assert_fn_err_ne_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_err_ne_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_eq.rs b/src/assert_fn_ok/assert_fn_ok_eq.rs
index 12fe502dd..3ec62b767 100644
--- a/src/assert_fn_ok/assert_fn_ok_eq.rs
+++ b/src/assert_fn_ok/assert_fn_ok_eq.rs
@@ -333,7 +333,7 @@ macro_rules! assert_fn_ok_eq {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -349,7 +349,7 @@ macro_rules! assert_fn_ok_eq {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_eq_x.rs b/src/assert_fn_ok/assert_fn_ok_eq_x.rs
index 8896bd303..46a7ac8f8 100644
--- a/src/assert_fn_ok/assert_fn_ok_eq_x.rs
+++ b/src/assert_fn_ok/assert_fn_ok_eq_x.rs
@@ -319,7 +319,7 @@ macro_rules! assert_fn_ok_eq_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -335,7 +335,7 @@ macro_rules! assert_fn_ok_eq_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_eq_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_ge.rs b/src/assert_fn_ok/assert_fn_ok_ge.rs
index 9f8af1533..77c3304b9 100644
--- a/src/assert_fn_ok/assert_fn_ok_ge.rs
+++ b/src/assert_fn_ok/assert_fn_ok_ge.rs
@@ -347,7 +347,7 @@ macro_rules! assert_fn_ok_ge {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -363,7 +363,7 @@ macro_rules! assert_fn_ok_ge {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_ge_x.rs b/src/assert_fn_ok/assert_fn_ok_ge_x.rs
index bab23bfc0..da1ad9f81 100644
--- a/src/assert_fn_ok/assert_fn_ok_ge_x.rs
+++ b/src/assert_fn_ok/assert_fn_ok_ge_x.rs
@@ -334,7 +334,7 @@ macro_rules! assert_fn_ok_ge_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -350,7 +350,7 @@ macro_rules! assert_fn_ok_ge_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ge_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_gt.rs b/src/assert_fn_ok/assert_fn_ok_gt.rs
index f9ccd334d..6ac7a19c2 100644
--- a/src/assert_fn_ok/assert_fn_ok_gt.rs
+++ b/src/assert_fn_ok/assert_fn_ok_gt.rs
@@ -371,7 +371,7 @@ macro_rules! assert_fn_ok_gt {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -387,7 +387,7 @@ macro_rules! assert_fn_ok_gt {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_gt_x.rs b/src/assert_fn_ok/assert_fn_ok_gt_x.rs
index b845e0118..d123cadf3 100644
--- a/src/assert_fn_ok/assert_fn_ok_gt_x.rs
+++ b/src/assert_fn_ok/assert_fn_ok_gt_x.rs
@@ -358,7 +358,7 @@ macro_rules! assert_fn_ok_gt_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -374,7 +374,7 @@ macro_rules! assert_fn_ok_gt_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_gt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_le.rs b/src/assert_fn_ok/assert_fn_ok_le.rs
index fd0f61a69..71b735942 100644
--- a/src/assert_fn_ok/assert_fn_ok_le.rs
+++ b/src/assert_fn_ok/assert_fn_ok_le.rs
@@ -347,7 +347,7 @@ macro_rules! assert_fn_ok_le {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -363,7 +363,7 @@ macro_rules! assert_fn_ok_le {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_le_x.rs b/src/assert_fn_ok/assert_fn_ok_le_x.rs
index 4e5201e9f..dc88384c3 100644
--- a/src/assert_fn_ok/assert_fn_ok_le_x.rs
+++ b/src/assert_fn_ok/assert_fn_ok_le_x.rs
@@ -335,7 +335,7 @@ macro_rules! assert_fn_ok_le_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -351,7 +351,7 @@ macro_rules! assert_fn_ok_le_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_le_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_lt.rs b/src/assert_fn_ok/assert_fn_ok_lt.rs
index f69a77f08..b2e72e37e 100644
--- a/src/assert_fn_ok/assert_fn_ok_lt.rs
+++ b/src/assert_fn_ok/assert_fn_ok_lt.rs
@@ -369,7 +369,7 @@ macro_rules! assert_fn_ok_lt {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -385,7 +385,7 @@ macro_rules! assert_fn_ok_lt {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_lt_x.rs b/src/assert_fn_ok/assert_fn_ok_lt_x.rs
index 522df3790..260a6bb91 100644
--- a/src/assert_fn_ok/assert_fn_ok_lt_x.rs
+++ b/src/assert_fn_ok/assert_fn_ok_lt_x.rs
@@ -321,7 +321,7 @@ macro_rules! assert_fn_ok_lt_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -337,7 +337,7 @@ macro_rules! assert_fn_ok_lt_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_lt_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_ne.rs b/src/assert_fn_ok/assert_fn_ok_ne.rs
index 0ef55971d..6f1d98b4a 100644
--- a/src/assert_fn_ok/assert_fn_ok_ne.rs
+++ b/src/assert_fn_ok/assert_fn_ok_ne.rs
@@ -333,7 +333,7 @@ macro_rules! assert_fn_ok_ne {
($a_function:path, $a_param:expr, $b_function:path, $b_param:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_as_result!($a_function, $a_param, $b_function, $b_param) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -349,7 +349,7 @@ macro_rules! assert_fn_ok_ne {
($a_function:path, $b_function:path, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_as_result!($a_function, $b_function) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fn_ok/assert_fn_ok_ne_x.rs b/src/assert_fn_ok/assert_fn_ok_ne_x.rs
index b301fb4f3..6216e38f0 100644
--- a/src/assert_fn_ok/assert_fn_ok_ne_x.rs
+++ b/src/assert_fn_ok/assert_fn_ok_ne_x.rs
@@ -318,7 +318,7 @@ macro_rules! assert_fn_ok_ne_x {
($a_function:path, $a_param:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_x_as_result!($a_function, $a_param, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
@@ -334,7 +334,7 @@ macro_rules! assert_fn_ok_ne_x {
($a_function:path, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fn_ok_ne_x_as_result!($a_function, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs
index 4c53d3175..a64fbb661 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_contains.rs
@@ -208,7 +208,7 @@ macro_rules! assert_fs_read_to_string_contains {
($path:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_contains_as_result!($path, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs
index 4ec33f164..e6d10b954 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_eq.rs
@@ -243,7 +243,7 @@ macro_rules! assert_fs_read_to_string_eq {
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_eq_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs
index d1e53eedf..bb524d0ea 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_eq_x.rs
@@ -237,7 +237,7 @@ macro_rules! assert_fs_read_to_string_eq_x {
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_eq_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs
index 7c6ec4145..819d76e65 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_ge.rs
@@ -230,7 +230,7 @@ macro_rules! assert_fs_read_to_string_ge {
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ge_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs
index c8cfe87e0..1152b4acd 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_ge_x.rs
@@ -222,7 +222,7 @@ macro_rules! assert_fs_read_to_string_ge_x {
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ge_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs
index b16464af8..16ea75d48 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_gt.rs
@@ -243,7 +243,7 @@ macro_rules! assert_fs_read_to_string_gt {
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_gt_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs
index 66e687062..4bbe91a26 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_gt_x.rs
@@ -237,7 +237,7 @@ macro_rules! assert_fs_read_to_string_gt_x {
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_gt_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs
index aeb9d121d..ed7542d22 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_is_match.rs
@@ -209,7 +209,7 @@ macro_rules! assert_fs_read_to_string_is_match {
($path:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_is_match_as_result!($path, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_le.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_le.rs
index abaff7d07..0e38fcc78 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_le.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_le.rs
@@ -230,7 +230,7 @@ macro_rules! assert_fs_read_to_string_le {
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_le_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs
index 5a8eff92b..49a0c61ba 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_le_x.rs
@@ -222,7 +222,7 @@ macro_rules! assert_fs_read_to_string_le_x {
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_le_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs
index b1ff72d43..d146fd86f 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_lt.rs
@@ -243,7 +243,7 @@ macro_rules! assert_fs_read_to_string_lt {
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_lt_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs
index 1a913cd0a..46614f147 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_lt_x.rs
@@ -237,7 +237,7 @@ macro_rules! assert_fs_read_to_string_lt_x {
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_lt_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs
index e085fe623..24853188f 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_ne.rs
@@ -230,7 +230,7 @@ macro_rules! assert_fs_read_to_string_ne {
($a_path:expr, $b_path:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ne_as_result!($a_path, $b_path) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs b/src/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs
index b1caf0992..4999b568e 100644
--- a/src/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs
+++ b/src/assert_fs_read_to_string/assert_fs_read_to_string_ne_x.rs
@@ -222,7 +222,7 @@ macro_rules! assert_fs_read_to_string_ne_x {
($a_path:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_fs_read_to_string_ne_x_as_result!($a_path, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ge.rs b/src/assert_ge.rs
index 69078a3c2..4c301881d 100644
--- a/src/assert_ge.rs
+++ b/src/assert_ge.rs
@@ -161,7 +161,7 @@ macro_rules! assert_ge {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ge_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_gt.rs b/src/assert_gt.rs
index a1f3310b2..3fbd350f9 100644
--- a/src/assert_gt.rs
+++ b/src/assert_gt.rs
@@ -161,7 +161,7 @@ macro_rules! assert_gt {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_gt_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_in/assert_in.rs b/src/assert_in/assert_in.rs
index e54feeca6..e59423854 100644
--- a/src/assert_in/assert_in.rs
+++ b/src/assert_in/assert_in.rs
@@ -156,7 +156,7 @@ macro_rules! assert_in {
($a:expr, $container:expr, $($message:tt)+) => {{
match $crate::assert_in_as_result!($a, $container) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_in/assert_in_delta.rs b/src/assert_in/assert_in_delta.rs
index 1f6dd7b24..84e85f1ca 100644
--- a/src/assert_in/assert_in_delta.rs
+++ b/src/assert_in/assert_in_delta.rs
@@ -248,7 +248,7 @@ macro_rules! assert_in_delta {
($a:expr, $b:expr, $delta:expr, $($message:tt)+) => {{
match $crate::assert_in_delta_as_result!($a, $b, $delta) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_in/assert_in_epsilon.rs b/src/assert_in/assert_in_epsilon.rs
index dd0657c6d..9aa9c987e 100644
--- a/src/assert_in/assert_in_epsilon.rs
+++ b/src/assert_in/assert_in_epsilon.rs
@@ -255,7 +255,7 @@ macro_rules! assert_in_epsilon {
($a:expr, $b:expr, $epsilon:expr, $($message:tt)+) => {{
match $crate::assert_in_epsilon_as_result!($a, $b, $epsilon) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_in/assert_in_range.rs b/src/assert_in/assert_in_range.rs
index ceb0ec476..f4a7bb1dd 100644
--- a/src/assert_in/assert_in_range.rs
+++ b/src/assert_in/assert_in_range.rs
@@ -166,7 +166,7 @@ macro_rules! assert_in_range {
($a:expr, $range:expr, $($message:tt)+) => {{
match $crate::assert_in_range_as_result!($a, $range) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_infix.rs b/src/assert_infix.rs
index 4b1ddd2c1..5a0acad60 100644
--- a/src/assert_infix.rs
+++ b/src/assert_infix.rs
@@ -241,7 +241,7 @@ macro_rules! assert_infix {
($a:tt $infix:tt $b:tt, $($message:tt)+) => {{
match $crate::assert_infix_as_result!($a $infix $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_contains.rs b/src/assert_io_read_to_string/assert_io_read_to_string_contains.rs
index 518ea8fc6..2a5bb1418 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_contains.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_contains.rs
@@ -197,7 +197,7 @@ macro_rules! assert_io_read_to_string_contains {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_contains_as_result!($reader, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_eq.rs b/src/assert_io_read_to_string/assert_io_read_to_string_eq.rs
index e4f223e87..1bf651483 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_eq.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_eq.rs
@@ -224,7 +224,7 @@ macro_rules! assert_io_read_to_string_eq {
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_eq_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs b/src/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs
index 75d8d9ffb..b94f8e17f 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_eq_x.rs
@@ -223,7 +223,7 @@ macro_rules! assert_io_read_to_string_eq_x {
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_eq_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_ge.rs b/src/assert_io_read_to_string/assert_io_read_to_string_ge.rs
index 805a1f508..f586fe17c 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_ge.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_ge.rs
@@ -218,7 +218,7 @@ macro_rules! assert_io_read_to_string_ge {
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ge_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs b/src/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs
index f4c263eb8..def9fe972 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_ge_x.rs
@@ -211,7 +211,7 @@ macro_rules! assert_io_read_to_string_ge_x {
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ge_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_gt.rs b/src/assert_io_read_to_string/assert_io_read_to_string_gt.rs
index 3c61f0f1b..6c04776c7 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_gt.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_gt.rs
@@ -228,7 +228,7 @@ macro_rules! assert_io_read_to_string_gt {
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_gt_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs b/src/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs
index 5cdc43904..e43c8c40f 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_gt_x.rs
@@ -223,7 +223,7 @@ macro_rules! assert_io_read_to_string_gt_x {
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_gt_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_is_match.rs b/src/assert_io_read_to_string/assert_io_read_to_string_is_match.rs
index e6e753efd..3808fd2e9 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_is_match.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_is_match.rs
@@ -204,7 +204,7 @@ macro_rules! assert_io_read_to_string_is_match {
($a_reader:expr, $b_matcher:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_is_match_as_result!($a_reader, $b_matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_le.rs b/src/assert_io_read_to_string/assert_io_read_to_string_le.rs
index 58a1d6f2c..37bb5c7fd 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_le.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_le.rs
@@ -207,7 +207,7 @@ macro_rules! assert_io_read_to_string_le {
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_le_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_le_x.rs b/src/assert_io_read_to_string/assert_io_read_to_string_le_x.rs
index 3b9ba547c..36bca4da2 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_le_x.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_le_x.rs
@@ -203,7 +203,7 @@ macro_rules! assert_io_read_to_string_le_x {
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_le_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_lt.rs b/src/assert_io_read_to_string/assert_io_read_to_string_lt.rs
index d758d9ff3..0a3c9e4f2 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_lt.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_lt.rs
@@ -207,7 +207,7 @@ macro_rules! assert_io_read_to_string_lt {
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_lt_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs b/src/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs
index cc3532daa..ee734b186 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_lt_x.rs
@@ -203,7 +203,7 @@ macro_rules! assert_io_read_to_string_lt_x {
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_lt_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_ne.rs b/src/assert_io_read_to_string/assert_io_read_to_string_ne.rs
index f6b0811df..1b0c33a9b 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_ne.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_ne.rs
@@ -207,7 +207,7 @@ macro_rules! assert_io_read_to_string_ne {
($a_reader:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ne_as_result!($a_reader, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs b/src/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs
index 59f57d759..d8a017208 100644
--- a/src/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs
+++ b/src/assert_io_read_to_string/assert_io_read_to_string_ne_x.rs
@@ -203,7 +203,7 @@ macro_rules! assert_io_read_to_string_ne_x {
($a_reader:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_io_read_to_string_ne_x_as_result!($a_reader, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_is_empty/assert_is_empty.rs b/src/assert_is_empty/assert_is_empty.rs
index 147b93691..f54bed9e9 100644
--- a/src/assert_is_empty/assert_is_empty.rs
+++ b/src/assert_is_empty/assert_is_empty.rs
@@ -147,7 +147,7 @@ macro_rules! assert_is_empty {
($a:expr, $($message:tt)+) => {{
match $crate::assert_is_empty_as_result!($a) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_is_empty/assert_not_empty.rs b/src/assert_is_empty/assert_not_empty.rs
index 267a0ad11..9f98e3aeb 100644
--- a/src/assert_is_empty/assert_not_empty.rs
+++ b/src/assert_is_empty/assert_not_empty.rs
@@ -147,7 +147,7 @@ macro_rules! assert_not_empty {
($a:expr, $($message:tt)+) => {{
match $crate::assert_not_empty_as_result!($a) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_is_match/assert_is_match.rs b/src/assert_is_match/assert_is_match.rs
index abcef29b7..6de45e8ba 100644
--- a/src/assert_is_match/assert_is_match.rs
+++ b/src/assert_is_match/assert_is_match.rs
@@ -166,7 +166,7 @@ macro_rules! assert_is_match {
($matcher:expr, $matchee:expr, $($message:tt)+) => {{
match $crate::assert_is_match_as_result!($matcher, $matchee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_is_match/assert_not_match.rs b/src/assert_is_match/assert_not_match.rs
index 57a1a4640..b7005db15 100644
--- a/src/assert_is_match/assert_not_match.rs
+++ b/src/assert_is_match/assert_not_match.rs
@@ -166,7 +166,7 @@ macro_rules! assert_not_match {
($matcher:expr, $matchee:expr, $($message:tt)+) => {{
match $crate::assert_not_match_as_result!($matcher, $matchee) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_iter/assert_iter_eq.rs b/src/assert_iter/assert_iter_eq.rs
index 63767a6ab..05e8c9f98 100644
--- a/src/assert_iter/assert_iter_eq.rs
+++ b/src/assert_iter/assert_iter_eq.rs
@@ -171,7 +171,7 @@ macro_rules! assert_iter_eq {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_eq_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_iter/assert_iter_ge.rs b/src/assert_iter/assert_iter_ge.rs
index 4b854f62f..d45aeec95 100644
--- a/src/assert_iter/assert_iter_ge.rs
+++ b/src/assert_iter/assert_iter_ge.rs
@@ -179,7 +179,7 @@ macro_rules! assert_iter_ge {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_ge_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_iter/assert_iter_gt.rs b/src/assert_iter/assert_iter_gt.rs
index c42d0b0c4..81182ee64 100644
--- a/src/assert_iter/assert_iter_gt.rs
+++ b/src/assert_iter/assert_iter_gt.rs
@@ -189,7 +189,7 @@ macro_rules! assert_iter_gt {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_gt_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_iter/assert_iter_le.rs b/src/assert_iter/assert_iter_le.rs
index 1dc1d26a4..673522a21 100644
--- a/src/assert_iter/assert_iter_le.rs
+++ b/src/assert_iter/assert_iter_le.rs
@@ -179,7 +179,7 @@ macro_rules! assert_iter_le {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_le_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_iter/assert_iter_lt.rs b/src/assert_iter/assert_iter_lt.rs
index 36589218f..fd8180944 100644
--- a/src/assert_iter/assert_iter_lt.rs
+++ b/src/assert_iter/assert_iter_lt.rs
@@ -189,7 +189,7 @@ macro_rules! assert_iter_lt {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_lt_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_iter/assert_iter_ne.rs b/src/assert_iter/assert_iter_ne.rs
index 0312049d6..bc361d6fb 100644
--- a/src/assert_iter/assert_iter_ne.rs
+++ b/src/assert_iter/assert_iter_ne.rs
@@ -171,7 +171,7 @@ macro_rules! assert_iter_ne {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_iter_ne_as_result!($a_collection, $b_collection) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_le.rs b/src/assert_le.rs
index c34df8b66..b5002a7b6 100644
--- a/src/assert_le.rs
+++ b/src/assert_le.rs
@@ -161,7 +161,7 @@ macro_rules! assert_le {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_le_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_eq.rs b/src/assert_len/assert_len_eq.rs
index 32bbfc8a1..88afd4298 100644
--- a/src/assert_len/assert_len_eq.rs
+++ b/src/assert_len/assert_len_eq.rs
@@ -195,7 +195,7 @@ macro_rules! assert_len_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_eq_x.rs b/src/assert_len/assert_len_eq_x.rs
index 1ad2fa01b..2e9e3ee96 100644
--- a/src/assert_len/assert_len_eq_x.rs
+++ b/src/assert_len/assert_len_eq_x.rs
@@ -188,7 +188,7 @@ macro_rules! assert_len_eq_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_ge.rs b/src/assert_len/assert_len_ge.rs
index 03fb37344..7695b64f3 100644
--- a/src/assert_len/assert_len_ge.rs
+++ b/src/assert_len/assert_len_ge.rs
@@ -183,7 +183,7 @@ macro_rules! assert_len_ge {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ge_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_ge_x.rs b/src/assert_len/assert_len_ge_x.rs
index 524d0a583..4a0d2f754 100644
--- a/src/assert_len/assert_len_ge_x.rs
+++ b/src/assert_len/assert_len_ge_x.rs
@@ -177,7 +177,7 @@ macro_rules! assert_len_ge_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ge_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_gt.rs b/src/assert_len/assert_len_gt.rs
index bcdc080f2..c2102f953 100644
--- a/src/assert_len/assert_len_gt.rs
+++ b/src/assert_len/assert_len_gt.rs
@@ -195,7 +195,7 @@ macro_rules! assert_len_gt {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_gt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_gt_x.rs b/src/assert_len/assert_len_gt_x.rs
index b6106e8d4..65b2b031e 100644
--- a/src/assert_len/assert_len_gt_x.rs
+++ b/src/assert_len/assert_len_gt_x.rs
@@ -188,7 +188,7 @@ macro_rules! assert_len_gt_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_gt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_le.rs b/src/assert_len/assert_len_le.rs
index 887afd5c6..4791c3d3b 100644
--- a/src/assert_len/assert_len_le.rs
+++ b/src/assert_len/assert_len_le.rs
@@ -183,7 +183,7 @@ macro_rules! assert_len_le {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_le_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_le_x.rs b/src/assert_len/assert_len_le_x.rs
index d8e4a74ae..14af5b9b7 100644
--- a/src/assert_len/assert_len_le_x.rs
+++ b/src/assert_len/assert_len_le_x.rs
@@ -177,7 +177,7 @@ macro_rules! assert_len_le_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_le_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_lt.rs b/src/assert_len/assert_len_lt.rs
index 3553d558e..7865357d7 100644
--- a/src/assert_len/assert_len_lt.rs
+++ b/src/assert_len/assert_len_lt.rs
@@ -195,7 +195,7 @@ macro_rules! assert_len_lt {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_lt_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_lt_x.rs b/src/assert_len/assert_len_lt_x.rs
index 15657a2f8..43e4d40b7 100644
--- a/src/assert_len/assert_len_lt_x.rs
+++ b/src/assert_len/assert_len_lt_x.rs
@@ -188,7 +188,7 @@ macro_rules! assert_len_lt_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_lt_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_ne.rs b/src/assert_len/assert_len_ne.rs
index c9dd6225b..25f00d5fb 100644
--- a/src/assert_len/assert_len_ne.rs
+++ b/src/assert_len/assert_len_ne.rs
@@ -183,7 +183,7 @@ macro_rules! assert_len_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_len/assert_len_ne_x.rs b/src/assert_len/assert_len_ne_x.rs
index 7bde4de0e..a5459d751 100644
--- a/src/assert_len/assert_len_ne_x.rs
+++ b/src/assert_len/assert_len_ne_x.rs
@@ -177,7 +177,7 @@ macro_rules! assert_len_ne_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_len_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_lt.rs b/src/assert_lt.rs
index d449af3f6..ce5f3f15d 100644
--- a/src/assert_lt.rs
+++ b/src/assert_lt.rs
@@ -162,7 +162,7 @@ macro_rules! assert_lt {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_lt_as_result!($a, $b) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err)
}
}};
}
diff --git a/src/assert_matches/assert_matches.rs b/src/assert_matches/assert_matches.rs
index 947d18ddb..4ab893179 100644
--- a/src/assert_matches/assert_matches.rs
+++ b/src/assert_matches/assert_matches.rs
@@ -167,13 +167,13 @@ macro_rules! assert_matches {
($expression:expr, $pattern:pat if $guard:expr, $($message:tt)+) => {{
match $crate::assert_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
($expression:expr, $pattern:pat, $($message:tt)+) => {{
match $crate::assert_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_matches/assert_not_matches.rs b/src/assert_matches/assert_not_matches.rs
index 244511dd3..0efccdb84 100644
--- a/src/assert_matches/assert_not_matches.rs
+++ b/src/assert_matches/assert_not_matches.rs
@@ -167,13 +167,13 @@ macro_rules! assert_not_matches {
($expression:expr, $pattern:pat if $guard:expr, $($message:tt)+) => {{
match $crate::assert_not_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
($expression:expr, $pattern:pat, $($message:tt)+) => {{
match $crate::assert_not_matches_as_result!($expression, $pattern if $guard) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_none/assert_none.rs b/src/assert_none/assert_none.rs
index d7f360121..10281af7f 100644
--- a/src/assert_none/assert_none.rs
+++ b/src/assert_none/assert_none.rs
@@ -151,7 +151,7 @@ macro_rules! assert_none {
($a:expr, $($message:tt)+) => {{
match $crate::assert_none_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ok/assert_ok.rs b/src/assert_ok/assert_ok.rs
index 30a1daeaa..bcb2ebae6 100644
--- a/src/assert_ok/assert_ok.rs
+++ b/src/assert_ok/assert_ok.rs
@@ -141,7 +141,7 @@ macro_rules! assert_ok {
($a:expr, $($message:tt)+) => {{
match $crate::assert_ok_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ok/assert_ok_eq.rs b/src/assert_ok/assert_ok_eq.rs
index 916968386..99d39609f 100644
--- a/src/assert_ok/assert_ok_eq.rs
+++ b/src/assert_ok/assert_ok_eq.rs
@@ -209,7 +209,7 @@ macro_rules! assert_ok_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ok/assert_ok_eq_x.rs b/src/assert_ok/assert_ok_eq_x.rs
index a1e51c0ad..6bd29d11a 100644
--- a/src/assert_ok/assert_ok_eq_x.rs
+++ b/src/assert_ok/assert_ok_eq_x.rs
@@ -204,7 +204,7 @@ macro_rules! assert_ok_eq_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ok/assert_ok_ne.rs b/src/assert_ok/assert_ok_ne.rs
index 1f877bfc3..aaef6c8f2 100644
--- a/src/assert_ok/assert_ok_ne.rs
+++ b/src/assert_ok/assert_ok_ne.rs
@@ -209,7 +209,7 @@ macro_rules! assert_ok_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ok/assert_ok_ne_x.rs b/src/assert_ok/assert_ok_ne_x.rs
index 3a0484c3a..af865e647 100644
--- a/src/assert_ok/assert_ok_ne_x.rs
+++ b/src/assert_ok/assert_ok_ne_x.rs
@@ -204,7 +204,7 @@ macro_rules! assert_ok_ne_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ok_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_pending/assert_pending.rs b/src/assert_pending/assert_pending.rs
index 2ecdf08f9..562a67353 100644
--- a/src/assert_pending/assert_pending.rs
+++ b/src/assert_pending/assert_pending.rs
@@ -156,7 +156,7 @@ macro_rules! assert_pending {
($a:expr, $($message:tt)+) => {{
match $crate::assert_pending_as_result!($a) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_eq.rs b/src/assert_program_args/assert_program_args_stderr_eq.rs
index 179b1d43d..fe50d6281 100644
--- a/src/assert_program_args/assert_program_args_stderr_eq.rs
+++ b/src/assert_program_args/assert_program_args_stderr_eq.rs
@@ -246,7 +246,7 @@ macro_rules! assert_program_args_stderr_eq {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_eq_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_eq_x.rs b/src/assert_program_args/assert_program_args_stderr_eq_x.rs
index 608599b6f..f6bf5e45c 100644
--- a/src/assert_program_args/assert_program_args_stderr_eq_x.rs
+++ b/src/assert_program_args/assert_program_args_stderr_eq_x.rs
@@ -236,7 +236,7 @@ macro_rules! assert_program_args_stderr_eq_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_eq_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_ge.rs b/src/assert_program_args/assert_program_args_stderr_ge.rs
index d1e5a1946..49a33bc79 100644
--- a/src/assert_program_args/assert_program_args_stderr_ge.rs
+++ b/src/assert_program_args/assert_program_args_stderr_ge.rs
@@ -260,7 +260,7 @@ macro_rules! assert_program_args_stderr_ge {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ge_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_ge_x.rs b/src/assert_program_args/assert_program_args_stderr_ge_x.rs
index 39c0d8f1e..f317e2f13 100644
--- a/src/assert_program_args/assert_program_args_stderr_ge_x.rs
+++ b/src/assert_program_args/assert_program_args_stderr_ge_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_program_args_stderr_ge_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ge_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_gt.rs b/src/assert_program_args/assert_program_args_stderr_gt.rs
index ddc2312dc..2521583f2 100644
--- a/src/assert_program_args/assert_program_args_stderr_gt.rs
+++ b/src/assert_program_args/assert_program_args_stderr_gt.rs
@@ -272,7 +272,7 @@ macro_rules! assert_program_args_stderr_gt {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_gt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_gt_x.rs b/src/assert_program_args/assert_program_args_stderr_gt_x.rs
index cc43722ec..82d7a99bd 100644
--- a/src/assert_program_args/assert_program_args_stderr_gt_x.rs
+++ b/src/assert_program_args/assert_program_args_stderr_gt_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_program_args_stderr_gt_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_gt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_le.rs b/src/assert_program_args/assert_program_args_stderr_le.rs
index 03232ab1c..10bd80eff 100644
--- a/src/assert_program_args/assert_program_args_stderr_le.rs
+++ b/src/assert_program_args/assert_program_args_stderr_le.rs
@@ -260,7 +260,7 @@ macro_rules! assert_program_args_stderr_le {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_le_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_le_x.rs b/src/assert_program_args/assert_program_args_stderr_le_x.rs
index 491b36a7e..55dd8558b 100644
--- a/src/assert_program_args/assert_program_args_stderr_le_x.rs
+++ b/src/assert_program_args/assert_program_args_stderr_le_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_program_args_stderr_le_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_le_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_lt.rs b/src/assert_program_args/assert_program_args_stderr_lt.rs
index f993824c9..1ccbf4b3d 100644
--- a/src/assert_program_args/assert_program_args_stderr_lt.rs
+++ b/src/assert_program_args/assert_program_args_stderr_lt.rs
@@ -272,7 +272,7 @@ macro_rules! assert_program_args_stderr_lt {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_lt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_lt_x.rs b/src/assert_program_args/assert_program_args_stderr_lt_x.rs
index 3dda1c884..b005ca3f5 100644
--- a/src/assert_program_args/assert_program_args_stderr_lt_x.rs
+++ b/src/assert_program_args/assert_program_args_stderr_lt_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_program_args_stderr_lt_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_lt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_ne.rs b/src/assert_program_args/assert_program_args_stderr_ne.rs
index 725dd47d1..4ca8af2b8 100644
--- a/src/assert_program_args/assert_program_args_stderr_ne.rs
+++ b/src/assert_program_args/assert_program_args_stderr_ne.rs
@@ -260,7 +260,7 @@ macro_rules! assert_program_args_stderr_ne {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ne_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_ne_x.rs b/src/assert_program_args/assert_program_args_stderr_ne_x.rs
index 3a6a3a11f..0ce067eaf 100644
--- a/src/assert_program_args/assert_program_args_stderr_ne_x.rs
+++ b/src/assert_program_args/assert_program_args_stderr_ne_x.rs
@@ -215,7 +215,7 @@ macro_rules! assert_program_args_stderr_ne_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_ne_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_string_contains.rs b/src/assert_program_args/assert_program_args_stderr_string_contains.rs
index ff0b2440d..62e52f47c 100644
--- a/src/assert_program_args/assert_program_args_stderr_string_contains.rs
+++ b/src/assert_program_args/assert_program_args_stderr_string_contains.rs
@@ -226,7 +226,7 @@ macro_rules! assert_program_args_stderr_string_contains {
($a_program:expr, $a_args:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_string_contains_as_result!($a_program, $a_args, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stderr_string_is_match.rs b/src/assert_program_args/assert_program_args_stderr_string_is_match.rs
index f531f1e5b..fa50c3ab9 100644
--- a/src/assert_program_args/assert_program_args_stderr_string_is_match.rs
+++ b/src/assert_program_args/assert_program_args_stderr_string_is_match.rs
@@ -220,7 +220,7 @@ macro_rules! assert_program_args_stderr_string_is_match {
($a_program:expr, $a_args:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stderr_string_is_match_as_result!($a_program, $a_args, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_eq.rs b/src/assert_program_args/assert_program_args_stdout_eq.rs
index 5cbe3e2ac..38c245e06 100644
--- a/src/assert_program_args/assert_program_args_stdout_eq.rs
+++ b/src/assert_program_args/assert_program_args_stdout_eq.rs
@@ -247,7 +247,7 @@ macro_rules! assert_program_args_stdout_eq {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_eq_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_eq_x.rs b/src/assert_program_args/assert_program_args_stdout_eq_x.rs
index 158fdde0c..90dbe6a16 100644
--- a/src/assert_program_args/assert_program_args_stdout_eq_x.rs
+++ b/src/assert_program_args/assert_program_args_stdout_eq_x.rs
@@ -217,7 +217,7 @@ macro_rules! assert_program_args_stdout_eq_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_eq_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_ge.rs b/src/assert_program_args/assert_program_args_stdout_ge.rs
index 58de0c196..67d1eb354 100644
--- a/src/assert_program_args/assert_program_args_stdout_ge.rs
+++ b/src/assert_program_args/assert_program_args_stdout_ge.rs
@@ -261,7 +261,7 @@ macro_rules! assert_program_args_stdout_ge {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ge_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_ge_x.rs b/src/assert_program_args/assert_program_args_stdout_ge_x.rs
index 33b0b7965..fd7f2f175 100644
--- a/src/assert_program_args/assert_program_args_stdout_ge_x.rs
+++ b/src/assert_program_args/assert_program_args_stdout_ge_x.rs
@@ -225,7 +225,7 @@ macro_rules! assert_program_args_stdout_ge_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ge_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_gt.rs b/src/assert_program_args/assert_program_args_stdout_gt.rs
index 58312e8bc..41acd1779 100644
--- a/src/assert_program_args/assert_program_args_stdout_gt.rs
+++ b/src/assert_program_args/assert_program_args_stdout_gt.rs
@@ -247,7 +247,7 @@ macro_rules! assert_program_args_stdout_gt {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_gt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_gt_x.rs b/src/assert_program_args/assert_program_args_stdout_gt_x.rs
index 8521105db..2a0ed9e80 100644
--- a/src/assert_program_args/assert_program_args_stdout_gt_x.rs
+++ b/src/assert_program_args/assert_program_args_stdout_gt_x.rs
@@ -216,7 +216,7 @@ macro_rules! assert_program_args_stdout_gt_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_gt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_le.rs b/src/assert_program_args/assert_program_args_stdout_le.rs
index 24e125850..35d6a00c1 100644
--- a/src/assert_program_args/assert_program_args_stdout_le.rs
+++ b/src/assert_program_args/assert_program_args_stdout_le.rs
@@ -261,7 +261,7 @@ macro_rules! assert_program_args_stdout_le {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_le_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_le_x.rs b/src/assert_program_args/assert_program_args_stdout_le_x.rs
index 7df12c386..cce4bab9d 100644
--- a/src/assert_program_args/assert_program_args_stdout_le_x.rs
+++ b/src/assert_program_args/assert_program_args_stdout_le_x.rs
@@ -225,7 +225,7 @@ macro_rules! assert_program_args_stdout_le_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_le_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_lt.rs b/src/assert_program_args/assert_program_args_stdout_lt.rs
index a71931acf..389872322 100644
--- a/src/assert_program_args/assert_program_args_stdout_lt.rs
+++ b/src/assert_program_args/assert_program_args_stdout_lt.rs
@@ -247,7 +247,7 @@ macro_rules! assert_program_args_stdout_lt {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_lt_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_lt_x.rs b/src/assert_program_args/assert_program_args_stdout_lt_x.rs
index 0c8c4a578..0a5f4ac6e 100644
--- a/src/assert_program_args/assert_program_args_stdout_lt_x.rs
+++ b/src/assert_program_args/assert_program_args_stdout_lt_x.rs
@@ -216,7 +216,7 @@ macro_rules! assert_program_args_stdout_lt_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_lt_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_ne.rs b/src/assert_program_args/assert_program_args_stdout_ne.rs
index dd5a1092e..9619e4c5b 100644
--- a/src/assert_program_args/assert_program_args_stdout_ne.rs
+++ b/src/assert_program_args/assert_program_args_stdout_ne.rs
@@ -247,7 +247,7 @@ macro_rules! assert_program_args_stdout_ne {
($a_program:expr, $a_args:expr, $b_program:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ne_as_result!($a_program, $a_args, $b_program, $b_args) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_ne_x.rs b/src/assert_program_args/assert_program_args_stdout_ne_x.rs
index 765239c7a..25f9827d4 100644
--- a/src/assert_program_args/assert_program_args_stdout_ne_x.rs
+++ b/src/assert_program_args/assert_program_args_stdout_ne_x.rs
@@ -216,7 +216,7 @@ macro_rules! assert_program_args_stdout_ne_x {
($a_program:expr, $a_args:expr, $b_expr:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_ne_x_as_result!($a_program, $a_args, $b_expr) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_string_contains.rs b/src/assert_program_args/assert_program_args_stdout_string_contains.rs
index 96157e372..6120be5d7 100644
--- a/src/assert_program_args/assert_program_args_stdout_string_contains.rs
+++ b/src/assert_program_args/assert_program_args_stdout_string_contains.rs
@@ -226,7 +226,7 @@ macro_rules! assert_program_args_stdout_string_contains {
($a_program:expr, $a_args:expr, $containee:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_string_contains_as_result!($a_program, $a_args, $containee) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_program_args/assert_program_args_stdout_string_is_match.rs b/src/assert_program_args/assert_program_args_stdout_string_is_match.rs
index dfa87ea10..8bee8a652 100644
--- a/src/assert_program_args/assert_program_args_stdout_string_is_match.rs
+++ b/src/assert_program_args/assert_program_args_stdout_string_is_match.rs
@@ -220,7 +220,7 @@ macro_rules! assert_program_args_stdout_string_is_match {
($a_program:expr, $a_args:expr, $matcher:expr, $($message:tt)+) => {{
match $crate::assert_program_args_stdout_string_is_match_as_result!($a_program, $a_args, $matcher) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ready/assert_ready.rs b/src/assert_ready/assert_ready.rs
index 74d7b398d..7859d0ef6 100644
--- a/src/assert_ready/assert_ready.rs
+++ b/src/assert_ready/assert_ready.rs
@@ -146,7 +146,7 @@ macro_rules! assert_ready {
($a:expr, $($message:tt)+) => {{
match $crate::assert_ready_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ready/assert_ready_eq.rs b/src/assert_ready/assert_ready_eq.rs
index dd9925077..4a6e5c784 100644
--- a/src/assert_ready/assert_ready_eq.rs
+++ b/src/assert_ready/assert_ready_eq.rs
@@ -213,7 +213,7 @@ macro_rules! assert_ready_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ready/assert_ready_eq_x.rs b/src/assert_ready/assert_ready_eq_x.rs
index 0a9b14c3f..a4f89146e 100644
--- a/src/assert_ready/assert_ready_eq_x.rs
+++ b/src/assert_ready/assert_ready_eq_x.rs
@@ -208,7 +208,7 @@ macro_rules! assert_ready_eq_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ready/assert_ready_ne.rs b/src/assert_ready/assert_ready_ne.rs
index 1da765437..1fdc5091b 100644
--- a/src/assert_ready/assert_ready_ne.rs
+++ b/src/assert_ready/assert_ready_ne.rs
@@ -213,7 +213,7 @@ macro_rules! assert_ready_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_ready/assert_ready_ne_x.rs b/src/assert_ready/assert_ready_ne_x.rs
index 437148469..e0e541a39 100644
--- a/src/assert_ready/assert_ready_ne_x.rs
+++ b/src/assert_ready/assert_ready_ne_x.rs
@@ -208,7 +208,7 @@ macro_rules! assert_ready_ne_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_ready_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_set/assert_set_disjoint.rs b/src/assert_set/assert_set_disjoint.rs
index 6dce3d5cb..d65378d30 100644
--- a/src/assert_set/assert_set_disjoint.rs
+++ b/src/assert_set/assert_set_disjoint.rs
@@ -183,7 +183,7 @@ macro_rules! assert_set_disjoint {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_disjoint_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_set/assert_set_eq.rs b/src/assert_set/assert_set_eq.rs
index d2a429f05..b429293ce 100644
--- a/src/assert_set/assert_set_eq.rs
+++ b/src/assert_set/assert_set_eq.rs
@@ -185,7 +185,7 @@ macro_rules! assert_set_eq {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_eq_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_set/assert_set_joint.rs b/src/assert_set/assert_set_joint.rs
index 443324bfd..823e1c812 100644
--- a/src/assert_set/assert_set_joint.rs
+++ b/src/assert_set/assert_set_joint.rs
@@ -183,7 +183,7 @@ macro_rules! assert_set_joint {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_joint_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_set/assert_set_ne.rs b/src/assert_set/assert_set_ne.rs
index 19acc183c..053a98878 100644
--- a/src/assert_set/assert_set_ne.rs
+++ b/src/assert_set/assert_set_ne.rs
@@ -184,7 +184,7 @@ macro_rules! assert_set_ne {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_ne_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_set/assert_set_subset.rs b/src/assert_set/assert_set_subset.rs
index 38a6c943f..b981a9f9b 100644
--- a/src/assert_set/assert_set_subset.rs
+++ b/src/assert_set/assert_set_subset.rs
@@ -183,7 +183,7 @@ macro_rules! assert_set_subset {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_subset_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_set/assert_set_superset.rs b/src/assert_set/assert_set_superset.rs
index 1144b06e9..94af94523 100644
--- a/src/assert_set/assert_set_superset.rs
+++ b/src/assert_set/assert_set_superset.rs
@@ -185,7 +185,7 @@ macro_rules! assert_set_superset {
($a_collection:expr, $b_collection:expr, $($message:tt)+) => {{
match $crate::assert_set_superset_as_result!($a_collection, $b_collection) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_some/assert_some.rs b/src/assert_some/assert_some.rs
index 6e7948608..87a3b06df 100644
--- a/src/assert_some/assert_some.rs
+++ b/src/assert_some/assert_some.rs
@@ -141,7 +141,7 @@ macro_rules! assert_some {
($a:expr, $($message:tt)+) => {{
match $crate::assert_some_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_some/assert_some_eq.rs b/src/assert_some/assert_some_eq.rs
index 0dfb0128b..5eecd068d 100644
--- a/src/assert_some/assert_some_eq.rs
+++ b/src/assert_some/assert_some_eq.rs
@@ -209,7 +209,7 @@ macro_rules! assert_some_eq {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_eq_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_some/assert_some_eq_x.rs b/src/assert_some/assert_some_eq_x.rs
index 1e148bf6a..7cbc10b25 100644
--- a/src/assert_some/assert_some_eq_x.rs
+++ b/src/assert_some/assert_some_eq_x.rs
@@ -204,7 +204,7 @@ macro_rules! assert_some_eq_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_eq_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_some/assert_some_ne.rs b/src/assert_some/assert_some_ne.rs
index 278bb16ff..21cf60e0e 100644
--- a/src/assert_some/assert_some_ne.rs
+++ b/src/assert_some/assert_some_ne.rs
@@ -209,7 +209,7 @@ macro_rules! assert_some_ne {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_ne_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_some/assert_some_ne_x.rs b/src/assert_some/assert_some_ne_x.rs
index 75f76cb88..601e4f9d0 100644
--- a/src/assert_some/assert_some_ne_x.rs
+++ b/src/assert_some/assert_some_ne_x.rs
@@ -204,7 +204,7 @@ macro_rules! assert_some_ne_x {
($a:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_some_ne_x_as_result!($a, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_starts_with/assert_not_starts_with.rs b/src/assert_starts_with/assert_not_starts_with.rs
index 3d36bf142..a9f8304d8 100644
--- a/src/assert_starts_with/assert_not_starts_with.rs
+++ b/src/assert_starts_with/assert_not_starts_with.rs
@@ -174,7 +174,7 @@ macro_rules! assert_not_starts_with {
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_not_starts_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_starts_with/assert_starts_with.rs b/src/assert_starts_with/assert_starts_with.rs
index 09130c531..d57f5e56d 100644
--- a/src/assert_starts_with/assert_starts_with.rs
+++ b/src/assert_starts_with/assert_starts_with.rs
@@ -174,7 +174,7 @@ macro_rules! assert_starts_with {
($sequence:expr, $subsequence:expr, $($message:tt)+) => {{
match $crate::assert_starts_with_as_result!($sequence, $subsequence) {
Ok(()) => (),
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_eq.rs b/src/assert_status/assert_status_code_value_eq.rs
index fa40b65e5..3b56c28fb 100644
--- a/src/assert_status/assert_status_code_value_eq.rs
+++ b/src/assert_status/assert_status_code_value_eq.rs
@@ -250,7 +250,7 @@ macro_rules! assert_status_code_value_eq {
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_eq_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_eq_x.rs b/src/assert_status/assert_status_code_value_eq_x.rs
index 4ce0fbe14..b75ee4b17 100644
--- a/src/assert_status/assert_status_code_value_eq_x.rs
+++ b/src/assert_status/assert_status_code_value_eq_x.rs
@@ -237,7 +237,7 @@ macro_rules! assert_status_code_value_eq_x {
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_eq_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_ge.rs b/src/assert_status/assert_status_code_value_ge.rs
index 589dfde3a..47be11d64 100644
--- a/src/assert_status/assert_status_code_value_ge.rs
+++ b/src/assert_status/assert_status_code_value_ge.rs
@@ -238,7 +238,7 @@ macro_rules! assert_status_code_value_ge {
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ge_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_ge_x.rs b/src/assert_status/assert_status_code_value_ge_x.rs
index 9dae9e246..0d446ca17 100644
--- a/src/assert_status/assert_status_code_value_ge_x.rs
+++ b/src/assert_status/assert_status_code_value_ge_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_status_code_value_ge_x {
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ge_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_gt.rs b/src/assert_status/assert_status_code_value_gt.rs
index 48c650d06..3a9b4b4f0 100644
--- a/src/assert_status/assert_status_code_value_gt.rs
+++ b/src/assert_status/assert_status_code_value_gt.rs
@@ -250,7 +250,7 @@ macro_rules! assert_status_code_value_gt {
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_gt_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_gt_x.rs b/src/assert_status/assert_status_code_value_gt_x.rs
index 0680a541b..6ab6a4256 100644
--- a/src/assert_status/assert_status_code_value_gt_x.rs
+++ b/src/assert_status/assert_status_code_value_gt_x.rs
@@ -237,7 +237,7 @@ macro_rules! assert_status_code_value_gt_x {
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_gt_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_le.rs b/src/assert_status/assert_status_code_value_le.rs
index 1a2acdcb9..2f0e4e37f 100644
--- a/src/assert_status/assert_status_code_value_le.rs
+++ b/src/assert_status/assert_status_code_value_le.rs
@@ -238,7 +238,7 @@ macro_rules! assert_status_code_value_le {
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_le_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_le_x.rs b/src/assert_status/assert_status_code_value_le_x.rs
index 9286ff7ca..ffa82a431 100644
--- a/src/assert_status/assert_status_code_value_le_x.rs
+++ b/src/assert_status/assert_status_code_value_le_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_status_code_value_le_x {
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_le_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_lt.rs b/src/assert_status/assert_status_code_value_lt.rs
index 491abcf41..50ca2dcd8 100644
--- a/src/assert_status/assert_status_code_value_lt.rs
+++ b/src/assert_status/assert_status_code_value_lt.rs
@@ -250,7 +250,7 @@ macro_rules! assert_status_code_value_lt {
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_lt_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_lt_x.rs b/src/assert_status/assert_status_code_value_lt_x.rs
index baa8ea5cd..efa7372f8 100644
--- a/src/assert_status/assert_status_code_value_lt_x.rs
+++ b/src/assert_status/assert_status_code_value_lt_x.rs
@@ -237,7 +237,7 @@ macro_rules! assert_status_code_value_lt_x {
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_lt_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_ne.rs b/src/assert_status/assert_status_code_value_ne.rs
index 089dce1ee..7b93d238f 100644
--- a/src/assert_status/assert_status_code_value_ne.rs
+++ b/src/assert_status/assert_status_code_value_ne.rs
@@ -238,7 +238,7 @@ macro_rules! assert_status_code_value_ne {
($a_process:expr, $b_process:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ne_as_result!($a_process, $b_process) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_code_value_ne_x.rs b/src/assert_status/assert_status_code_value_ne_x.rs
index 65a16061c..04ea0fc29 100644
--- a/src/assert_status/assert_status_code_value_ne_x.rs
+++ b/src/assert_status/assert_status_code_value_ne_x.rs
@@ -226,7 +226,7 @@ macro_rules! assert_status_code_value_ne_x {
($a_process:expr, $b:expr, $($message:tt)+) => {{
match $crate::assert_status_code_value_ne_x_as_result!($a_process, $b) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_success.rs b/src/assert_status/assert_status_success.rs
index 232fece9a..c9fe72505 100644
--- a/src/assert_status/assert_status_success.rs
+++ b/src/assert_status/assert_status_success.rs
@@ -169,7 +169,7 @@ macro_rules! assert_status_success {
($a:expr, $($message:tt)+) => {{
match $crate::assert_status_success_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_status/assert_status_success_false.rs b/src/assert_status/assert_status_success_false.rs
index 2be427ec9..0940ace46 100644
--- a/src/assert_status/assert_status_success_false.rs
+++ b/src/assert_status/assert_status_success_false.rs
@@ -169,7 +169,7 @@ macro_rules! assert_status_success_false {
($a:expr, $($message:tt)+) => {{
match $crate::assert_status_success_false_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_success/assert_success.rs b/src/assert_success/assert_success.rs
index 8b2689a05..3614e459c 100644
--- a/src/assert_success/assert_success.rs
+++ b/src/assert_success/assert_success.rs
@@ -165,7 +165,7 @@ macro_rules! assert_success {
($a:expr, $($message:tt)+) => {{
match $crate::assert_success_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/assert_success/assert_success_false.rs b/src/assert_success/assert_success_false.rs
index d3c1d736c..5023e6fe8 100644
--- a/src/assert_success/assert_success_false.rs
+++ b/src/assert_success/assert_success_false.rs
@@ -165,7 +165,7 @@ macro_rules! assert_success_false {
($a:expr, $($message:tt)+) => {{
match $crate::assert_success_false_as_result!($a) {
Ok(x) => x,
- Err(_err) => panic!("{}", $($message)+),
+ Err(err) => panic!("{}\n{}", format_args!($($message)+), err),
}
}};
}
diff --git a/src/lib.rs b/src/lib.rs
index 986deb74e..11c9e456b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -17,15 +17,19 @@
//! * Test values with
//! [assert_lt](module@crate::assert_lt),
//! [assert_gt](module@crate::assert_gt),
-//! […](module@crate::assert_approx)
-//! * Test results with
-//! [assert_ok](module@crate::assert_ok),
-//! [assert_err](module@crate::assert_err),
-//! […](module@crate::assert_ok::assert_ok_eq_x)
+//! […](https://docs.rs/assertables)
//! * Test groups with
//! [assert_all](module@crate::assert_all),
//! [assert_any](module@crate::assert_any),
-//! […](module@crate::assert_iter)
+//! […](https://docs.rs/assertables)
+//! * Test results with
+//! [assert_ok](module@crate::assert_ok),
+//! [assert_err](module@crate::assert_err),
+//! […](https://docs.rs/assertables)
+//! * Test options with
+//! [assert_some](module@crate::assert_some),
+//! [assert_none](module@crate::assert_none),
+//! […](https://docs.rs/assertables)
//! * Test matching with
//! [assert_matches](module@crate::assert_matches),
//! [assert_is_match](module@crate::assert_is_match),
@@ -52,12 +56,6 @@
//! * You will handle more corner cases without needing to write custom code.
//! * You will troubleshoot faster because error messages show more detail.
//!
-//! Features:
-//!
-//! * Easy to use: everything is well-documented with runnable examples.
-//! * Zero overhead: if you don't use a macro, then it's not compiled.
-//! * Multiple forms: for panic, debug, result return, success return.
-//!
//! Learning:
//! [FAQ](https://github.com/SixArm/assertables-rust-crate/tree/main/help/faq),
//! [docs](https://docs.rs/assertables/),
@@ -114,12 +112,12 @@
//!
//! Values:
//!
-//! * [`assert_eq!(a, b)`](module@crate::assert_eq) ≈ a = b
-//! * [`assert_ne!(a, b)`](module@crate::assert_ne) ≈ a ≠ b
-//! * [`assert_lt!(a, b)`](module@crate::assert_lt) ≈ a < b
-//! * [`assert_le!(a, b)`](module@crate::assert_le) ≈ a ≤ b
-//! * [`assert_gt!(a, b)`](module@crate::assert_gt) ≈ a > b
-//! * [`assert_ge!(a, b)`](module@crate::assert_ge) ≈ a ≥ b
+//! * [`assert_eq!(a, b)`](module@crate::assert_eq) ≈ a = b ≈ equal to
+//! * [`assert_ne!(a, b)`](module@crate::assert_ne) ≈ a ≠ b ≈ not equal to
+//! * [`assert_lt!(a, b)`](module@crate::assert_lt) ≈ a < b ≈ less than
+//! * [`assert_le!(a, b)`](module@crate::assert_le) ≈ a ≤ b ≈ less than or equal to
+//! * [`assert_gt!(a, b)`](module@crate::assert_gt) ≈ a > b ≈ greater than
+//! * [`assert_ge!(a, b)`](module@crate::assert_ge) ≈ a ≥ b ≈ greater than or equal to
//!
//! Nearness:
//!
@@ -149,19 +147,19 @@
//!
//! * [`assert_ok!(a)`](module@crate::assert_ok) ≈ a is Ok
//! * [`assert_err!(a)`](module@crate::assert_err) ≈ a is Err
-//! * [`assert_ok_eq_x!(a, x)`](module@crate::assert_ok::assert_ok_eq_x) ≈ a is Ok unwrap = x
+//! * [`assert_ok_eq_x!(a, x)`](module@crate::assert_ok::assert_ok_eq_x) ≈ a is Ok ⇒ unwrap = x
//!
//! Options:
//!
//! * [`assert_some!(a)`](module@crate::assert_some) ≈ a is Some
//! * [`assert_none!(a)`](module@crate::assert_none) ≈ a is None
-//! * [`assert_some_eq_x!(a, x)`](module@crate::assert_some::assert_some_eq_x) ≈ a is Some unwrap = x
+//! * [`assert_some_eq_x!(a, x)`](module@crate::assert_some::assert_some_eq_x) ≈ a is Some ⇒ unwrap = x
//!
//! Polls:
//!
//! * [`assert_ready!(a)`](module@crate::assert_ready) ≈ a is Ready
//! * [`assert_pending!(a)`](module@crate::assert_pending) ≈ a is Pending
-//! * [`assert_ready_eq_x!(a, x)`](module@crate::assert_ready::assert_ready_eq_x) ≈ a is Ready unwrap = x
+//! * [`assert_ready_eq_x!(a, x)`](module@crate::assert_ready::assert_ready_eq_x) ≈ a is Ready ⇒ unwrap = x
//!
//! Collections:
//!