D-Programming-Language/dmd — pull request #1785 by rainers (2013-03-22 09:20:54+00:00)
Title: fix issue 9782: do not generate RTInfo for deprecated types and _error_ types

The behaveour is a bit strange for deprecated types:
- if deprecated stuff is disallowed, no error or warning
- if deprecated stuff is allowed, no error or warning
- if warnings only are enabled (the default), the deprecation warning is shown even if the type seems never to be used (but actually is in the TypeInfo generation).