Skip to content

Commit 8dd239f

Browse files
committed
fix ui test after toolchain update
1 parent 0688612 commit 8dd239f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/unnecessary_map_on_constructor.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ LL | let a = Some(x).map(fun);
55
| ^^^^^^^^^^^^^^^^ help: try: `Some(fun(x))`
66
|
77
= note: `-D clippy::unnecessary-map-on-constructor` implied by `-D warnings`
8+
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_on_constructor)]`
89

910
error: unnecessary map on constructor Ok(_)
1011
--> $DIR/unnecessary_map_on_constructor.rs:33:27

0 commit comments

Comments
 (0)