rust-clippy/tests/ui/panic.stderr

29 lines
792 B
Text
Raw Normal View History

2019-10-16 17:43:26 +00:00
error: you probably are missing some parameter in your format string
--> $DIR/panic.rs:5:16
2019-10-12 11:26:14 +00:00
|
2019-10-16 17:43:26 +00:00
LL | panic!("{}");
| ^^^^
2019-10-12 11:26:14 +00:00
|
2019-10-16 17:43:26 +00:00
= note: `-D clippy::panic-params` implied by `-D warnings`
2019-10-12 11:26:14 +00:00
2019-10-16 17:43:26 +00:00
error: you probably are missing some parameter in your format string
--> $DIR/panic.rs:7:16
|
LL | panic!("{:?}");
| ^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic.rs:9:23
|
LL | assert!(true, "here be missing values: {}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic.rs:12:12
|
LL | panic!("{{{this}}}");
| ^^^^^^^^^^^^
error: aborting due to 4 previous errors
2019-10-12 11:26:14 +00:00