Improve compiler error message when generating an async command that has a reference input and don't return a Result.