about summary refs log tree commit diff
path: root/tests/ui/cfg/cfg-method-receiver.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/cfg/cfg-method-receiver.stderr')
-rw-r--r--tests/ui/cfg/cfg-method-receiver.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/cfg/cfg-method-receiver.stderr b/tests/ui/cfg/cfg-method-receiver.stderr
index 5767a7c1b4b..639413b90fa 100644
--- a/tests/ui/cfg/cfg-method-receiver.stderr
+++ b/tests/ui/cfg/cfg-method-receiver.stderr
@@ -16,8 +16,9 @@ LL |     cbor_map! { #[cfg(test)] 4};
    = note: this error originates in the macro `cbor_map` (in Nightly builds, run with -Z macro-backtrace for more info)
 help: you must specify a concrete type for this numeric value, like `i32`
    |
-LL |     cbor_map! { #[cfg(test)] 4_i32};
-   |                              ~~~~~
+LL -     cbor_map! { #[cfg(test)] 4};
+LL +     cbor_map! { #[cfg(test)] 4_i32};
+   |
 
 error: aborting due to 2 previous errors