]> git.lizzy.rs Git - rust.git/blobdiff - clippy_tests/examples/cmp_null.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / cmp_null.stderr
index 6709ad799c41396cff2db83deea682be68be9887..d7b27eb5da40803faa490158ac1382c1fb007ef1 100644 (file)
@@ -1,5 +1,5 @@
 error: Comparing with null is better expressed by the .is_null() method
-  --> examples/cmp_null.rs:11:8
+  --> cmp_null.rs:11:8
    |
 11 |     if p == ptr::null() {
    |        ^^^^^^^^^^^^^^^^
@@ -7,15 +7,14 @@ error: Comparing with null is better expressed by the .is_null() method
    = note: `-D cmp-null` implied by `-D warnings`
 
 error: Comparing with null is better expressed by the .is_null() method
-  --> examples/cmp_null.rs:16:8
+  --> cmp_null.rs:16:8
    |
 16 |     if m == ptr::null_mut() {
    |        ^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D cmp-null` implied by `-D warnings`
 
-error: aborting due to 2 previous errors
+error: aborting due to previous error(s)
 
-error: Could not compile `clippy_tests`.
 
 To learn more, run the command again with --verbose.