mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:5:16
|
|
|
|
|
LL | panic!("{}");
|
|
| ^^^^
|
|
|
|
|
= note: `-D clippy::panic-params` implied by `-D warnings`
|
|
|
|
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:7:16
|
|
|
|
|
LL | panic!("{:?}");
|
|
| ^^^^^^
|
|
|
|
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:9:23
|
|
|
|
|
LL | assert!(true, "here be missing values: {}");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:12:12
|
|
|
|
|
LL | panic!("{{{this}}}");
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: `unimplemented` should not be present in production code
|
|
--> $DIR/panic_unimplemented.rs:55:5
|
|
|
|
|
LL | unimplemented!();
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::unimplemented` implied by `-D warnings`
|
|
|
|
error: aborting due to 5 previous errors
|
|
|