Migrate golang.org/x/exp/constraints to cmp
ProprietaryRewrite constraints.Ordered to cmp.Ordered, added to the standard library in Go 1.21. Integer, Float, Signed, Unsigned and Complex have no standard-library counterpart, so a file naming one of them keeps the x/exp import and is left for review.
org. openrewrite. golang. migration. MigrateXExpConstraintsToStdlibmod run . --recipe= org. openrewrite. golang. migration. MigrateXExpConstraintsToStdlibInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.