]> git.lizzy.rs Git - rust.git/commitdiff
Update the .stderr to include the backticks
authorMatthias Seiffert <matthias-seiffert@hotmail.de>
Thu, 3 Oct 2019 10:01:02 +0000 (12:01 +0200)
committerMatthias Seiffert <matthias-seiffert@hotmail.de>
Thu, 3 Oct 2019 10:01:02 +0000 (12:01 +0200)
tests/ui/unit_cmp.stderr

index e2bab3eab60b1a82a56dc2792cc8a609b068299f..eeeef05d0021cb92d72c938615baeb15004be497 100644 (file)
@@ -22,7 +22,7 @@ LL | |         false;
 LL | |     } {}
    | |_____^
 
-error: assert_eq of unit values detected. This will always succeed
+error: `assert_eq` of unit values detected. This will always succeed
   --> $DIR/unit_cmp.rs:24:5
    |
 LL |     assert_eq!((), ());
@@ -30,7 +30,7 @@ LL |     assert_eq!((), ());
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
 
-error: debug_assert_eq of unit values detected. This will always succeed
+error: `debug_assert_eq` of unit values detected. This will always succeed
   --> $DIR/unit_cmp.rs:25:5
    |
 LL |     debug_assert_eq!((), ());
@@ -38,7 +38,7 @@ LL |     debug_assert_eq!((), ());
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
 
-error: assert_ne of unit values detected. This will always fail
+error: `assert_ne` of unit values detected. This will always fail
   --> $DIR/unit_cmp.rs:27:5
    |
 LL |     assert_ne!((), ());
@@ -46,7 +46,7 @@ LL |     assert_ne!((), ());
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
 
-error: debug_assert_ne of unit values detected. This will always fail
+error: `debug_assert_ne` of unit values detected. This will always fail
   --> $DIR/unit_cmp.rs:28:5
    |
 LL |     debug_assert_ne!((), ());