diff --git a/compiler/src/dmd/dmodule.d b/compiler/src/dmd/dmodule.d index 3264c34bf67..970003e3872 100644 --- a/compiler/src/dmd/dmodule.d +++ b/compiler/src/dmd/dmodule.d @@ -548,7 +548,7 @@ extern (C++) final class Module : Package buf.writeByte('.'); } buf.printf("%s\t(%s)", ident.toChars(), m.srcfile.toChars()); - message("import %s", buf.peekChars()); + message("import %s (from %s)", buf.peekChars(), loc.toChars()); } if((m = m.parse()) is null) return null;