DiagnosticsError codes
M0102 modernize suggestion
The code can use a newer language or library feature that the module's go version allows (min and max, range over int, slices and maps functions, strings.Cut, ...).
Behavior is unchanged.
The fix
marmot fix applies these.
See also all error codes and marmot explain.