do dead code elimination in release with debug info mode
Change the diagnostic for wrongly imported modules to explicitly state how to import the target module.
Merge pull request #3375 from Trass3r/optref

do dead code elimination in release with debug info mode
Merge pull request #3450 from AndrejMitrovic/ImportDiag

Change the diagnostic for wrongly imported modules