Proper meesage for "impl Trait for module"

Fix #8763