2020-01-10 15:12:21 +01:00
|
|
|
error: `Err(_)` matches all errors
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:14:9
|
2018-04-07 10:23:27 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Err(_) => panic!("err"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^
|
2018-04-07 10:23:27 +02:00
|
|
|
|
|
2018-10-30 21:36:52 +01:00
|
|
|
= note: `-D clippy::match-wild-err-arm` implied by `-D warnings`
|
2020-01-10 15:12:21 +01:00
|
|
|
= note: match each error separately or use the error output
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2018-10-30 21:36:52 +01:00
|
|
|
error: this `match` has identical arm bodies
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:13:18
|
2018-04-07 10:23:27 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2018-04-07 10:23:27 +02:00
|
|
|
|
|
2018-10-30 21:36:52 +01:00
|
|
|
= note: `-D clippy::match-same-arms` implied by `-D warnings`
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:12:18
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:12:9
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-10-30 21:36:52 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
2020-01-10 15:12:21 +01:00
|
|
|
error: `Err(_)` matches all errors
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:20:9
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Err(_) => panic!(),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
2020-01-10 15:12:21 +01:00
|
|
|
= note: match each error separately or use the error output
|
2017-02-11 07:57:50 +01:00
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
error: this `match` has identical arm bodies
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:19:18
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:18:18
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:18:9
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-10-30 21:36:52 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
2020-01-10 15:12:21 +01:00
|
|
|
error: `Err(_)` matches all errors
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:26:9
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Err(_) => {
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
2020-01-10 15:12:21 +01:00
|
|
|
= note: match each error separately or use the error output
|
2017-02-11 14:42:42 +01:00
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
error: this `match` has identical arm bodies
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:25:18
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:24:18
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2018-10-30 21:36:52 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:24:9
|
2018-10-30 21:36:52 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-10-30 21:36:52 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
2020-01-10 15:12:21 +01:00
|
|
|
error: `Err(_e)` matches all errors
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:34:9
|
|
|
|
|
|
|
|
|
LL | Err(_e) => panic!(),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2020-01-10 15:12:21 +01:00
|
|
|
= note: match each error separately or use the error output
|
2020-01-10 10:42:21 +01:00
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
error: this `match` has identical arm bodies
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:33:18
|
2018-12-04 07:17:53 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
2018-12-04 07:17:53 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:32:18
|
2018-12-04 07:17:53 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2018-12-04 07:17:53 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:32:9
|
2018-12-04 07:17:53 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-12-04 07:17:53 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
|
|
|
error: this `match` has identical arm bodies
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:40:18
|
2018-12-04 07:17:53 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
2018-12-04 07:17:53 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:39:18
|
2018-12-04 07:17:53 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2018-12-04 07:17:53 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:39:9
|
2018-12-04 07:17:53 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-12-04 07:17:53 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
|
|
|
error: this `match` has identical arm bodies
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:47:18
|
2018-12-10 06:27:19 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
2018-12-10 06:27:19 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:46:18
|
2018-12-10 06:27:19 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2018-12-10 06:27:19 +01:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:46:9
|
2018-12-10 06:27:19 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-12-10 06:27:19 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
|
|
|
error: this `match` has identical arm bodies
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:54:18
|
|
|
|
|
|
|
|
|
LL | Ok(_) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: same as this
|
2019-07-17 08:08:26 +02:00
|
|
|
--> $DIR/matches.rs:53:18
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
2020-01-10 10:42:21 +01:00
|
|
|
LL | Ok(3) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
|
|
|
--> $DIR/matches.rs:53:9
|
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
|
|
|
| ^^^^^
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: this `match` has identical arm bodies
|
|
|
|
--> $DIR/matches.rs:60:18
|
|
|
|
|
|
|
|
|
LL | Ok(_) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: same as this
|
|
|
|
--> $DIR/matches.rs:59:18
|
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
|
|
|
--> $DIR/matches.rs:59:9
|
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
|
|
|
| ^^^^^
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: this `match` has identical arm bodies
|
|
|
|
--> $DIR/matches.rs:66:18
|
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Ok(_) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-09-12 14:25:58 +02:00
|
|
|
note: same as this
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:65:18
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:65:9
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-12-27 16:57:55 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-09-12 14:25:58 +02:00
|
|
|
|
2017-11-29 21:52:49 +01:00
|
|
|
error: this `match` has identical arm bodies
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:89:29
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | (Ok(_), Some(x)) => println!("ok {}", x),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-11-29 21:42:37 +01:00
|
|
|
note: same as this
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:88:29
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | (Ok(x), Some(_)) => println!("ok {}", x),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `(Ok(x), Some(_)) | (Ok(_), Some(x))`
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:88:9
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | (Ok(x), Some(_)) => println!("ok {}", x),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2018-12-27 16:57:55 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-11-29 21:42:37 +01:00
|
|
|
|
2017-11-29 22:42:58 +01:00
|
|
|
error: this `match` has identical arm bodies
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:104:18
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | Ok(_) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-11-29 22:42:58 +01:00
|
|
|
note: same as this
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:103:18
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
|
|
|
| ^^^^^^^^^^^^^^
|
2019-05-20 18:25:13 +02:00
|
|
|
help: consider refactoring into `Ok(3) | Ok(_)`
|
2020-01-10 10:42:21 +01:00
|
|
|
--> $DIR/matches.rs:103:9
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | Ok(3) => println!("ok"),
|
2019-05-20 18:25:13 +02:00
|
|
|
| ^^^^^
|
2018-12-27 16:57:55 +01:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-11-29 22:42:58 +01:00
|
|
|
|
2020-01-10 10:42:21 +01:00
|
|
|
error: aborting due to 15 previous errors
|
2018-01-16 17:06:27 +01:00
|
|
|
|