diff options
author | uHOOCCOOHu <[email protected]> | 2019-09-09 18:21:29 +0100 |
---|---|---|
committer | uHOOCCOOHu <[email protected]> | 2019-09-09 18:21:29 +0100 |
commit | 5f48ef39024f62c135197e764741354611e02b6f (patch) | |
tree | 8317f27e42132173d175770c818ba49a93a2cd7f /crates/ra_hir/src/ty | |
parent | 40f91341595508833d39eb6d97e4ec2ac7f685cb (diff) |
Strip
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/lower.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/ra_hir/src/ty/lower.rs b/crates/ra_hir/src/ty/lower.rs index a2adbc4b8..061229842 100644 --- a/crates/ra_hir/src/ty/lower.rs +++ b/crates/ra_hir/src/ty/lower.rs | |||
@@ -429,9 +429,6 @@ pub(crate) fn type_for_def(db: &impl HirDatabase, def: TypableDef, ns: Namespace | |||
429 | (TypableDef::Const(_), Namespace::Types) => Ty::Unknown, | 429 | (TypableDef::Const(_), Namespace::Types) => Ty::Unknown, |
430 | (TypableDef::Static(_), Namespace::Types) => Ty::Unknown, | 430 | (TypableDef::Static(_), Namespace::Types) => Ty::Unknown, |
431 | (TypableDef::BuiltinType(_), Namespace::Values) => Ty::Unknown, | 431 | (TypableDef::BuiltinType(_), Namespace::Values) => Ty::Unknown, |
432 | |||
433 | // Macro is not typeable | ||
434 | (_, Namespace::Macro) => Ty::Unknown, | ||
435 | } | 432 | } |
436 | } | 433 | } |
437 | 434 | ||