LL | | 1;
LL | | });
| |_____^
+ |
help: if you intended to pass a unit value, use a unit literal instead
|
LL | foo(());
|
LL | foo(foo(1));
| ^^^^^^
+ |
help: if you intended to pass a unit value, use a unit literal instead
|
LL | foo(());
LL | | foo(2);
LL | | });
| |_____^
+ |
help: if you intended to pass a unit value, use a unit literal instead
|
LL | foo(());
|
LL | foo3({}, 2, 2);
| ^^
+ |
help: if you intended to pass a unit value, use a unit literal instead
|
LL | foo3((), 2, 2);
LL | | 1;
LL | | });
| |_____^
+ |
help: if you intended to pass a unit value, use a unit literal instead
|
LL | b.bar(());