error: you probably are missing some parameter in your format string
- --> $DIR/panic.rs:8:16
- |
-8 | panic!("{}");
- | ^^^^
- |
-note: lint level defined here
- --> $DIR/panic.rs:4:9
- |
-4 | #![deny(panic_params)]
- | ^^^^^^^^^^^^
+ --> $DIR/panic.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.rs:10:16
+ --> $DIR/panic.rs:7:16
|
-10 | panic!("{:?}");
+LL | panic!("{:?}");
| ^^^^^^
error: you probably are missing some parameter in your format string
- --> $DIR/panic.rs:12:23
+ --> $DIR/panic.rs:9:23
|
-12 | assert!(true, "here be missing values: {}");
+LL | assert!(true, "here be missing values: {}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you probably are missing some parameter in your format string
- --> $DIR/panic.rs:22:5
- |
-22 | assert!("foo bar".contains(&format!("foo {}", "bar")));
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ --> $DIR/panic.rs:12:12
|
- = note: this error originates in a macro outside of the current crate
+LL | panic!("{{{this}}}");
+ | ^^^^^^^^^^^^
error: aborting due to 4 previous errors