The actual diagnostic itself is better educated:
$ set -u $ asdasdf $ echo $asdasdf bash: asdasdf: unbound variable