Give a better error message when let called without a block.

Related #816.

This basically implements a fix for that.