David Wood
e343521276
Add assert_eq! to special-cased macros
...
Allows for this form of assert_eq! macros:
```rust
assert_eq!(
left.id, right.id,
"IDs are not equal: {:?} {:?}",
left, right
);
```
Also allows for assert! macros to have the format arguments split across
multiple lines even if the assert condition is not simple:
```rust
assert!(
result >= 42,
"The result must be at least 42: {:?}",
result, result.code, context
);
```
2017-12-23 01:06:17 +00:00
..
2017-10-01 21:21:20 +09:00
2017-08-19 15:30:53 -07:00
2017-09-03 08:14:00 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-12-10 23:38:30 +09:00
2017-12-05 10:02:49 +09:00
2017-11-13 17:33:32 +09:00
2017-12-10 21:19:51 +09:00
2017-09-05 16:54:02 +09:00
2017-11-15 15:44:27 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-12-05 17:38:07 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-27 17:46:09 +13:00
2017-11-27 17:46:09 +13:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-27 17:03:54 +13:00
2017-11-27 17:03:54 +13:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-27 17:35:27 +13:00
2017-11-27 17:35:27 +13:00
2017-08-24 23:48:18 +09:00
2017-09-15 22:32:03 +09:00
2017-11-24 14:46:33 +13:00
2017-11-24 14:46:33 +13:00
2017-11-14 23:25:10 +09:00
2017-11-14 23:37:27 +09:00
2017-11-14 23:37:27 +09:00
2017-11-01 07:33:55 +01:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-24 14:45:18 +13:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-06 11:53:17 +13:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-12-11 11:40:59 +09:00
2017-11-24 20:17:06 +13:00
2017-11-24 20:17:06 +13:00
2017-11-24 20:17:06 +13:00
2017-11-27 20:53:54 +09:00
2017-11-13 17:33:32 +09:00
2017-12-20 15:44:11 +09:00
2017-10-30 08:46:11 +13:00
2017-11-01 07:33:55 +01:00
2017-11-13 17:33:32 +09:00
2017-11-24 21:08:24 +13:00
2017-11-24 21:08:24 +13:00
2017-11-24 21:08:24 +13:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-01 07:33:55 +01:00
2017-12-22 12:05:36 +09:00
2017-09-26 11:20:47 +09:00
2017-12-09 16:45:20 +09:00
2017-08-11 17:44:16 +09:00
2017-11-01 07:33:55 +01:00
2017-11-24 15:41:27 +13:00
2017-11-27 17:35:27 +13:00
2017-10-10 18:51:44 +13:00
2017-11-13 17:33:32 +09:00
2017-11-01 07:33:55 +01:00
2017-08-25 08:20:11 +09:00
2017-11-10 17:08:16 +09:00
2017-11-23 12:36:57 +09:00
2017-11-18 15:32:10 +09:00
2017-11-24 12:04:00 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-24 14:07:37 +13:00
2017-10-04 22:02:28 +13:00
2017-12-23 01:06:17 +00:00
2017-11-27 17:35:27 +13:00
2017-11-27 17:35:27 +13:00
2017-11-15 12:22:50 +09:00
2017-11-02 20:28:38 +09:00
2017-10-28 18:41:58 +13:00
2017-12-05 17:45:19 +09:00
2017-11-24 20:17:06 +13:00
2017-11-08 18:23:21 +09:00
2017-09-27 22:47:34 +02:00
2017-11-24 14:07:37 +13:00
2017-11-24 14:45:18 +13:00
2017-11-24 14:45:18 +13:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-10-08 22:37:13 +09:00
2017-11-13 11:06:09 +09:00
2017-12-15 13:47:32 +09:00
2017-11-01 07:33:55 +01:00
2017-11-13 17:33:32 +09:00