rust/tests/ui/panic_unimplemented.stderr

38 lines
1.2 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
--> $DIR/panic_unimplemented.rs:8:16
2017-07-28 02:08:09 -05:00
|
8 | panic!("{}");
| ^^^^
|
= note: `-D panic-params` implied by `-D warnings`
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:10:16
2017-07-28 02:08:09 -05:00
|
10 | panic!("{:?}");
| ^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:12:23
2017-07-28 02:08:09 -05:00
|
12 | assert!(true, "here be missing values: {}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:15:12
|
15 | panic!("{{{this}}}");
| ^^^^^^^^^^^^
2018-05-23 09:43:05 -05:00
error: `unimplemented` should not be present in production code
--> $DIR/panic_unimplemented.rs:57:5
2018-05-23 09:43:05 -05:00
|
57 | unimplemented!();
| ^^^^^^^^^^^^^^^^^
|
= note: `-D unimplemented` implied by `-D warnings`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 5 previous errors
2018-01-16 10:06:27 -06:00