bors
f82e84c894
Auto merge of #5998 - deg4uss3r:master, r=yaahc
...
Add map_err_ignore lint
In a large code base a lot of times errors are ignored by using something like:
```rust
foo.map_err(|_| Some::Enum)?;
```
This drops the original error in favor of a enum that will not have the original error's context. This lint helps catch throwing away the original error in favor of an enum without its context.
---
*Please keep the line below*
changelog: Added map_err_ignore lint
2020-09-14 19:56:47 +00:00
..
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-29 15:33:54 -07:00
2020-08-29 15:33:54 -07:00
2020-08-29 15:33:54 -07:00
2020-09-08 17:59:56 -04:00
2020-09-08 17:59:56 -04:00
2020-09-01 00:05:53 +09:00
2020-09-01 00:05:53 +09:00
2020-09-01 00:05:53 +09:00
2020-09-08 23:35:19 +09:00
2020-09-08 23:35:19 +09:00
2020-09-08 23:35:19 +09:00
2020-09-01 00:31:53 +09:00
2020-09-01 00:31:53 +09:00
2020-09-01 00:31:53 +09:00
2020-09-02 12:51:44 +01:00
2020-09-02 12:51:44 +01:00
2020-09-01 16:59:37 -04:00
2020-09-01 16:59:37 -04:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-04 20:16:02 -06:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-11 16:52:25 +02:00
2020-09-02 13:18:19 +02:00
2020-09-03 04:58:14 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-08 19:37:14 -04:00
2020-09-08 19:37:14 -04:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-09 17:59:13 +02:00
2020-08-29 01:20:49 +02:00
2020-08-29 01:20:49 +02:00
2020-08-29 01:20:49 +02:00
2020-09-09 14:02:34 -07:00
2020-09-09 14:02:34 -07:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-09 17:59:13 +02:00
2020-09-09 17:59:13 +02:00
2020-09-08 23:03:15 +09:00
2020-09-08 23:03:15 +09:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-10 15:23:38 +02:00
2020-09-10 15:23:38 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-13 23:23:45 +09:00
2020-09-13 23:23:45 +09:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-01 11:51:32 +12:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-27 19:36:28 +02:00
2020-08-27 19:36:28 +02:00
2020-08-27 19:36:28 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-07 00:19:17 +02:00
2020-09-07 00:19:17 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-01 12:09:32 +09:00
2020-09-01 12:09:32 +09:00
2020-09-01 12:09:32 +09:00
2020-09-13 12:50:39 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-09-13 12:50:39 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00
2020-08-28 18:43:25 +02:00