Update the .stderr to include the backticks

This commit is contained in:
Matthias Seiffert 2019-10-03 12:01:02 +02:00
parent 288f02da44
commit 320d17aa63

View file

@ -22,7 +22,7 @@ LL | | false;
LL | | } {} 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 --> $DIR/unit_cmp.rs:24:5
| |
LL | assert_eq!((), ()); 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) = 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 --> $DIR/unit_cmp.rs:25:5
| |
LL | debug_assert_eq!((), ()); 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) = 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 --> $DIR/unit_cmp.rs:27:5
| |
LL | assert_ne!((), ()); 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) = 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 --> $DIR/unit_cmp.rs:28:5
| |
LL | debug_assert_ne!((), ()); LL | debug_assert_ne!((), ());