2019-10-16 12:43:26 -05:00
|
|
|
error: `panic` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:8:5
|
2019-10-16 12:43:26 -05:00
|
|
|
|
|
|
|
|
LL | panic!();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::panic` implied by `-D warnings`
|
|
|
|
|
2020-07-26 14:07:07 -05:00
|
|
|
error: `panic` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:9:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | panic!("message");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `panic` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:10:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | panic!("{} {}", "panic with", "multiple arguments");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-10-16 12:43:26 -05:00
|
|
|
error: `todo` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:16:5
|
2019-10-16 12:43:26 -05:00
|
|
|
|
|
|
|
|
LL | todo!();
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::todo` implied by `-D warnings`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-16 12:43:26 -05:00
|
|
|
|
2020-07-26 14:07:07 -05:00
|
|
|
error: `todo` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:17:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | todo!("message");
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
error: `todo` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:18:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | todo!("{} {}", "panic with", "multiple arguments");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-07-26 14:07:07 -05:00
|
|
|
|
2019-10-16 12:43:26 -05:00
|
|
|
error: `unimplemented` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:24:5
|
2019-10-16 12:43:26 -05:00
|
|
|
|
|
|
|
|
LL | unimplemented!();
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::unimplemented` implied by `-D warnings`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-16 12:43:26 -05:00
|
|
|
|
2020-07-26 14:07:07 -05:00
|
|
|
error: `unimplemented` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:25:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | unimplemented!("message");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
error: `unimplemented` should not be present in production code
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:26:5
|
2019-10-16 12:43:26 -05:00
|
|
|
|
|
2020-07-26 14:07:07 -05:00
|
|
|
LL | unimplemented!("{} {}", "panic with", "multiple arguments");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-07-26 14:07:07 -05:00
|
|
|
|
2020-12-06 08:01:03 -06:00
|
|
|
error: usage of the `unreachable!` macro
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:32:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
2019-10-16 12:43:26 -05:00
|
|
|
LL | unreachable!();
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::unreachable` implied by `-D warnings`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-16 12:43:26 -05:00
|
|
|
|
2020-12-06 08:01:03 -06:00
|
|
|
error: usage of the `unreachable!` macro
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:33:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | unreachable!("message");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `$crate::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-07-26 14:07:07 -05:00
|
|
|
|
2020-12-06 08:01:03 -06:00
|
|
|
error: usage of the `unreachable!` macro
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:34:5
|
2020-07-26 14:07:07 -05:00
|
|
|
|
|
|
|
|
LL | unreachable!("{} {}", "panic with", "multiple arguments");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-07-26 14:07:07 -05:00
|
|
|
|
2020-11-17 14:16:15 -06:00
|
|
|
error: `panic` should not be present in production code
|
|
|
|
--> $DIR/panicking_macros.rs:40:5
|
|
|
|
|
|
|
|
|
LL | panic!();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: `todo` should not be present in production code
|
|
|
|
--> $DIR/panicking_macros.rs:41:5
|
|
|
|
|
|
|
|
|
LL | todo!();
|
|
|
|
| ^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-11-17 14:16:15 -06:00
|
|
|
|
|
|
|
error: `unimplemented` should not be present in production code
|
|
|
|
--> $DIR/panicking_macros.rs:42:5
|
|
|
|
|
|
|
|
|
LL | unimplemented!();
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-11-17 14:16:15 -06:00
|
|
|
|
2020-12-06 08:01:03 -06:00
|
|
|
error: usage of the `unreachable!` macro
|
2020-11-17 14:16:15 -06:00
|
|
|
--> $DIR/panicking_macros.rs:43:5
|
|
|
|
|
|
|
|
|
LL | unreachable!();
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2021-01-30 12:33:21 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-11-17 14:16:15 -06:00
|
|
|
|
|
|
|
error: aborting due to 16 previous errors
|
2019-10-16 12:43:26 -05:00
|
|
|
|