2019-10-16 17:43:26 +00:00
|
|
|
error: `panic` should not be present in production code
|
2022-04-07 17:39:59 +00:00
|
|
|
--> $DIR/panicking_macros.rs:23:5
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
LL | panic!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::panic` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::panic)]`
|
2019-10-16 17:43:26 +00:00
|
|
|
|
2020-07-26 19:07:07 +00:00
|
|
|
error: `panic` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:26:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | panic!("message");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
error: `panic` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:28:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | panic!("{} {}", "panic with", "multiple arguments");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
2019-10-16 17:43:26 +00:00
|
|
|
error: `todo` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:35:5
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
LL | todo!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::todo` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::todo)]`
|
2019-10-16 17:43:26 +00:00
|
|
|
|
2020-07-26 19:07:07 +00:00
|
|
|
error: `todo` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:38:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | todo!("message");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
error: `todo` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:40:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | todo!("{} {}", "panic with", "multiple arguments");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
2019-10-16 17:43:26 +00:00
|
|
|
error: `unimplemented` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:47:5
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
LL | unimplemented!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::unimplemented` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::unimplemented)]`
|
2019-10-16 17:43:26 +00:00
|
|
|
|
2020-07-26 19:07:07 +00:00
|
|
|
error: `unimplemented` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:50:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | unimplemented!("message");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
error: `unimplemented` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:52:5
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
2020-07-26 19:07:07 +00:00
|
|
|
LL | unimplemented!("{} {}", "panic with", "multiple arguments");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
2020-12-06 14:01:03 +00:00
|
|
|
error: usage of the `unreachable!` macro
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:59:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
2019-10-16 17:43:26 +00:00
|
|
|
LL | unreachable!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2019-10-16 17:43:26 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::unreachable` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::unreachable)]`
|
2019-10-16 17:43:26 +00:00
|
|
|
|
2020-12-06 14:01:03 +00:00
|
|
|
error: usage of the `unreachable!` macro
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:62:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | unreachable!("message");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
2020-12-06 14:01:03 +00:00
|
|
|
error: usage of the `unreachable!` macro
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:64:5
|
2020-07-26 19:07:07 +00:00
|
|
|
|
|
|
|
|
LL | unreachable!("{} {}", "panic with", "multiple arguments");
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-26 19:07:07 +00:00
|
|
|
|
2020-11-17 20:16:15 +00:00
|
|
|
error: `panic` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:71:5
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
|
LL | panic!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
error: `todo` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:73:5
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
|
LL | todo!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
error: `unimplemented` should not be present in production code
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:75:5
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
|
LL | unimplemented!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2020-11-17 20:16:15 +00:00
|
|
|
|
2020-12-06 14:01:03 +00:00
|
|
|
error: usage of the `unreachable!` macro
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/panicking_macros.rs:77:5
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
|
LL | unreachable!();
|
2021-10-14 18:28:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2020-11-17 20:16:15 +00:00
|
|
|
|
|
|
|
error: aborting due to 16 previous errors
|
2019-10-16 17:43:26 +00:00
|
|
|
|