when other function's inferred error set is the return type of a
function, it should not try to insert the error set into it.
this implies that this branch fixes a bug in master branch.
3a4d565254Andrew Kelley committed on 7/19/2023, 2:02:06 AMparent7c66bd3