rust/tests/ui/panic_unimplemented.stderr

37 lines
1.0 KiB
Plaintext

error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:8:16
|
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
|
10 | panic!("{:?}");
| ^^^^^^
error: you probably are missing some parameter in your format string
--> $DIR/panic_unimplemented.rs:12:23
|
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}}}");
| ^^^^^^^^^^^^
error: `unimplemented` should not be present in production code
--> $DIR/panic_unimplemented.rs:58:5
|
58 | unimplemented!();
| ^^^^^^^^^^^^^^^^^
|
= note: `-D unimplemented` implied by `-D warnings`
error: aborting due to 5 previous errors