rust/tests/ui/panicking_macros.stderr

111 lines
3.2 KiB
Plaintext
Raw Normal View History

2019-10-16 12:43:26 -05:00
error: `panic` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:22:5
2019-10-16 12:43:26 -05:00
|
LL | panic!();
| ^^^^^^^^
2019-10-16 12:43:26 -05:00
|
= note: `-D clippy::panic` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::panic)]`
2019-10-16 12:43:26 -05:00
error: `panic` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:25:5
|
LL | panic!("message");
| ^^^^^^^^^^^^^^^^^
error: `panic` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:27:5
|
LL | panic!("{} {}", "panic with", "multiple arguments");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-10-16 12:43:26 -05:00
error: `todo` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:34:5
2019-10-16 12:43:26 -05:00
|
LL | todo!();
| ^^^^^^^
2019-10-16 12:43:26 -05:00
|
= note: `-D clippy::todo` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::todo)]`
2019-10-16 12:43:26 -05:00
error: `todo` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:37:5
|
LL | todo!("message");
| ^^^^^^^^^^^^^^^^
error: `todo` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:39:5
|
LL | todo!("{} {}", "panic with", "multiple arguments");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-10-16 12:43:26 -05:00
error: `unimplemented` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:46:5
2019-10-16 12:43:26 -05:00
|
LL | unimplemented!();
| ^^^^^^^^^^^^^^^^
2019-10-16 12:43:26 -05:00
|
= note: `-D clippy::unimplemented` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unimplemented)]`
2019-10-16 12:43:26 -05:00
error: `unimplemented` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:49:5
|
LL | unimplemented!("message");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: `unimplemented` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:51:5
2019-10-16 12:43:26 -05:00
|
LL | unimplemented!("{} {}", "panic with", "multiple arguments");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: usage of the `unreachable!` macro
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:58:5
|
2019-10-16 12:43:26 -05:00
LL | unreachable!();
| ^^^^^^^^^^^^^^
2019-10-16 12:43:26 -05:00
|
= note: `-D clippy::unreachable` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unreachable)]`
2019-10-16 12:43:26 -05:00
error: usage of the `unreachable!` macro
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:61:5
|
LL | unreachable!("message");
| ^^^^^^^^^^^^^^^^^^^^^^^
error: usage of the `unreachable!` macro
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:63:5
|
LL | unreachable!("{} {}", "panic with", "multiple arguments");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `panic` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:70:5
|
LL | panic!();
| ^^^^^^^^
error: `todo` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:72:5
|
LL | todo!();
| ^^^^^^^
error: `unimplemented` should not be present in production code
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:74:5
|
LL | unimplemented!();
| ^^^^^^^^^^^^^^^^
error: usage of the `unreachable!` macro
2024-04-19 11:01:35 -05:00
--> tests/ui/panicking_macros.rs:76:5
|
LL | unreachable!();
| ^^^^^^^^^^^^^^
error: aborting due to 16 previous errors
2019-10-16 12:43:26 -05:00