]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/map_err.stderr
Rollup merge of #79374 - mendess:const-param-expr-diagnostic, r=lcnr
[rust.git] / src / tools / clippy / tests / ui / map_err.stderr
1 error: `map_err(|_|...` ignores the original error
2   --> $DIR/map_err.rs:23:32
3    |
4 LL |     println!("{:?}", x.map_err(|_| Errors::Ignored));
5    |                                ^^^
6    |
7    = note: `-D clippy::map-err-ignore` implied by `-D warnings`
8    = help: Consider wrapping the error in an enum variant
9
10 error: aborting due to previous error
11