mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:18:16
|
|
|
|
|
18 | 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:20:16
|
|
|
|
|
20 | panic!("{:?}");
|
|
| ^^^^^^
|
|
|
|
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:22:23
|
|
|
|
|
22 | assert!(true, "here be missing values: {}");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you probably are missing some parameter in your format string
|
|
--> $DIR/panic_unimplemented.rs:25:12
|
|
|
|
|
25 | panic!("{{{this}}}");
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: `unimplemented` should not be present in production code
|
|
--> $DIR/panic_unimplemented.rs:68:5
|
|
|
|
|
68 | unimplemented!();
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::unimplemented` implied by `-D warnings`
|
|
|
|
error: aborting due to 5 previous errors
|
|
|