We need this to support open-quickly for stdlib symbols.
After 7400d484 we tried to walk into enum elements, but forgot to check for missing types (which caused an assertion in getType) or element decls (which caused an assertion or crash inside passReference). rdar://problem/24634223
7400d484