Can't work around the "error: unable to resolve inferred error set"

That’s what I actually wanted! :blush: Thanks a lot for the hint!
Just in case, it is anyerror!void to be compiled (anyerror).