unit_arg suggestion may be incorrect

This commit is contained in:
Shotaro Yamada 2020-04-17 10:26:58 +09:00
parent eb9c15a6b3
commit 162cf261dc
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnitArg {
"passing a unit value to a function",
"if you intended to pass a unit value, use a unit literal instead",
"()".to_string(),
Applicability::MachineApplicable,
Applicability::MaybeIncorrect,
);
}
}