about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2021-08-14 19:52:59 -0400
committerJason Newcomb <jsnewcomb@pm.me>2021-08-14 19:52:59 -0400
commit10c0460a471d03a633cd15367bf0a85c007e0219 (patch)
tree6235bdd5538dc6fb347373295dcd32b63fe222b2
parent5e4d8b44f9524f28fd1ebca18f48ecad204cf184 (diff)
update stderr messages
-rw-r--r--tests/ui/manual_map_option_2.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/ui/manual_map_option_2.stderr b/tests/ui/manual_map_option_2.stderr
index 9cfd83f445b..711ff6c4a4b 100644
--- a/tests/ui/manual_map_option_2.stderr
+++ b/tests/ui/manual_map_option_2.stderr
@@ -14,10 +14,10 @@ LL | |     };
    = note: `-D clippy::manual-map` implied by `-D warnings`
 help: try this
    |
-LL |     let _ = Some(0).map(|x| {
-LL |             let y = (String::new(), String::new());
-LL |             (x, y.0)
-LL |         });
+LL ~     let _ = Some(0).map(|x| {
+LL +             let y = (String::new(), String::new());
+LL +             (x, y.0)
+LL ~         });
    |
 
 error: manual implementation of `Option::map`
@@ -34,9 +34,9 @@ LL | |     };
    |
 help: try this
    |
-LL |     let _ = s.as_ref().map(|x| {
-LL |             if let Some(ref s) = s { (x.clone(), s) } else { panic!() }
-LL |         });
+LL ~     let _ = s.as_ref().map(|x| {
+LL +             if let Some(ref s) = s { (x.clone(), s) } else { panic!() }
+LL ~         });
    |
 
 error: aborting due to 2 previous errors