]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic.stderr
Merge pull request #1919 from rust-lang-nursery/ui
[rust.git] / tests / ui / panic.stderr
1 error: you probably are missing some parameter in your format string
2  --> $DIR/panic.rs:8:16
3   |
4 8 |         panic!("{}");
5   |                ^^^^
6   |
7   = note: `-D panic-params` implied by `-D warnings`
8
9 error: you probably are missing some parameter in your format string
10   --> $DIR/panic.rs:10:16
11    |
12 10 |         panic!("{:?}");
13    |                ^^^^^^
14
15 error: you probably are missing some parameter in your format string
16   --> $DIR/panic.rs:12:23
17    |
18 12 |         assert!(true, "here be missing values: {}");
19    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21 error: you probably are missing some parameter in your format string
22   --> $DIR/panic.rs:22:5
23    |
24 22 |     assert!("foo bar".contains(&format!("foo {}", "bar")));
25    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26    |
27    = note: this error originates in a macro outside of the current crate
28
29 error: aborting due to 4 previous errors
30