Temporal requires a specific ordering of TypeError and RangeError. We should make sure we return the errors in the same order in Date::try_from_fields, where DateError::NotEnoughFields is a TypeError and DateError::Range is a RangeError.
I had asked for this to be included in https://github.com/unicode-org/icu4x/pull/7062/files#r2418252951 but it wasn't added.
@Manishearth