rust/tests/ui/panic_unimplemented.stderr

37 lines
1.1 KiB
Plaintext
Raw Normal View History

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