rust-clippy/clippy_tests/examples/panic.stderr

39 lines
1.2 KiB
Text
Raw Normal View History

2017-04-07 09:21:39 +00:00
error: you probably are missing some parameter in your format string
--> examples/panic.rs:8:16
2017-04-07 09:21:39 +00:00
|
8 | panic!("{}");
| ^^^^
|
= note: `-D panic-params` implied by `-D warnings`
2017-04-07 09:21:39 +00:00
error: you probably are missing some parameter in your format string
--> examples/panic.rs:10:16
2017-04-07 09:21:39 +00:00
|
10 | panic!("{:?}");
| ^^^^^^
|
= note: `-D panic-params` implied by `-D warnings`
2017-04-07 09:21:39 +00:00
error: you probably are missing some parameter in your format string
--> examples/panic.rs:12:23
2017-04-07 09:21:39 +00:00
|
12 | assert!(true, "here be missing values: {}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D panic-params` implied by `-D warnings`
2017-04-07 09:21:39 +00:00
error: you probably are missing some parameter in your format string
--> examples/panic.rs:22:5
2017-04-07 09:21:39 +00:00
|
22 | assert!("foo bar".contains(&format!("foo {}", "bar")));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D panic-params` implied by `-D warnings`
2017-04-07 09:21:39 +00:00
= note: this error originates in a macro outside of the current crate
error: aborting due to 4 previous errors
error: Could not compile `clippy_tests`.
To learn more, run the command again with --verbose.