rust/tests/ui/panic_unimplemented.stderr

37 lines
1.1 KiB
Plaintext
Raw Normal View History

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