]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/panic.stderr
iterate List by value
[rust.git] / tests / ui / panic.stderr
index 25113ed80b6e08f2f0d29916d68560bd120c7c5e..1f8ff8ccf55750577675303eb2bcec693119bdda 100644 (file)
@@ -1,22 +1,28 @@
 error: you probably are missing some parameter in your format string
--> $DIR/panic.rs:8:16
-  |
-8 |         panic!("{}");
-  |                ^^^^
-  |
-  = note: `-D panic-params` implied by `-D warnings`
 --> $DIR/panic.rs:5:16
+   |
+LL |         panic!("{}");
+   |                ^^^^
+   |
+   = note: `-D clippy::panic-params` implied by `-D warnings`
 
 error: you probably are missing some parameter in your format string
-  --> $DIR/panic.rs:10:16
+  --> $DIR/panic.rs:7:16
    |
-10 |         panic!("{:?}");
+LL |         panic!("{:?}");
    |                ^^^^^^
 
 error: you probably are missing some parameter in your format string
-  --> $DIR/panic.rs:12:23
+  --> $DIR/panic.rs:9:23
    |
-12 |         assert!(true, "here be missing values: {}");
+LL |         assert!(true, "here be missing values: {}");
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error: aborting due to 3 previous errors
+error: you probably are missing some parameter in your format string
+  --> $DIR/panic.rs:12:12
+   |
+LL |     panic!("{{{this}}}");
+   |            ^^^^^^^^^^^^
+
+error: aborting due to 4 previous errors