rust-clippy/tests/ui/panic_unimplemented.stderr

37 lines
1.1 KiB
Text
Raw Normal View History

2017-07-28 07:08:09 +00:00
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:5:16
2018-10-06 16:18:06 +00:00
|
2018-12-27 15:57:55 +00:00
LL | panic!("{}");
2018-10-06 16:18:06 +00:00
| ^^^^
|
= note: `-D clippy::panic-params` implied by `-D warnings`
2017-07-28 07:08:09 +00:00
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:7:16
2017-07-28 07:08:09 +00:00
|
2018-12-27 15:57:55 +00:00
LL | panic!("{:?}");
2017-07-28 07:08:09 +00:00
| ^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:9:23
2017-07-28 07:08:09 +00:00
|
2018-12-27 15:57:55 +00:00
LL | assert!(true, "here be missing values: {}");
2017-07-28 07:08:09 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:12:12
|
2018-12-27 15:57:55 +00:00
LL | panic!("{{{this}}}");
| ^^^^^^^^^^^^
2018-05-23 14:43:05 +00:00
error: `unimplemented` should not be present in production code
--> $DIR/panic_unimplemented.rs:55:5
2018-05-23 14:43:05 +00:00
|
2018-12-27 15:57:55 +00:00
LL | unimplemented!();
2018-05-23 14:43:05 +00:00
| ^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::unimplemented` implied by `-D warnings`
2018-05-23 14:43:05 +00:00
error: aborting due to 5 previous errors
2018-01-16 16:06:27 +00:00