Make ':doc' say 'No constructors.' when a data type has no constructors.

This fixes #1187.