rust-clippy/tests/ui/panic.stderr

23 lines
619 B
Text
Raw Normal View History

2017-07-28 07:08:09 +00:00
error: you probably are missing some parameter in your format string
2017-08-01 15:54:21 +00:00
--> $DIR/panic.rs:8:16
2017-07-28 07:08:09 +00:00
|
8 | panic!("{}");
| ^^^^
|
= note: `-D panic-params` implied by `-D warnings`
error: you probably are missing some parameter in your format string
2017-08-01 15:54:21 +00:00
--> $DIR/panic.rs:10:16
2017-07-28 07:08:09 +00:00
|
10 | panic!("{:?}");
| ^^^^^^
error: you probably are missing some parameter in your format string
2017-08-01 15:54:21 +00:00
--> $DIR/panic.rs:12:23
2017-07-28 07:08:09 +00:00
|
12 | assert!(true, "here be missing values: {}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors
2017-07-28 07:08:09 +00:00