mozilla/rust — pull request #11623 by geoffhill (2014-01-17 22:15:13+00:00)
Title: Fix error output for module operations on types.

Replace the error messages (shown when a non-module type is used as a
module) with internal debug messages. This is in line with the nearby
error behavior.

Closes #10551.