]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/option_map_or_none.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / option_map_or_none.stderr
index 1cba29412b872b927a359b74ab397d5b1b2798a9..27d68b85e6f81f853d59e6aa613e8c39904696ca 100644 (file)
@@ -17,9 +17,9 @@ LL | |                        });
    |
 help: try using `and_then` instead
    |
-LL |     let _ = opt.and_then(|x| {
-LL |                         Some(x + 1)
-LL |                        });
+LL ~     let _ = opt.and_then(|x| {
+LL +                         Some(x + 1)
+LL ~                        });
    |
 
 error: aborting due to 2 previous errors