std.net: add explicit error sets for IP parsing
Inferred errors in switch statements prevented IP address parsing at comptime.
Adding explicit error sets fixes it.
Closes #18276
90a19f7411Artem Kolichenkov committed on 12/16/2023, 4:15:51 PM· committed by GitHubparent779b8e2