diff options
author | Jonas Schievink <[email protected]> | 2021-02-05 18:25:50 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-02-05 18:25:50 +0000 |
commit | c312ab51d0d0bcee9514e08e6fafea26d061ea67 (patch) | |
tree | 8c2dfa181f07eee0be7b3b2684d83ed0df82bb3b /crates/hir_def | |
parent | 997bd97b77e0cacf7eb8e466071e416492cc24b3 (diff) |
Test `super` resolution too
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/body/tests/block.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_def/src/body/tests/block.rs b/crates/hir_def/src/body/tests/block.rs index e688c0989..b599c6269 100644 --- a/crates/hir_def/src/body/tests/block.rs +++ b/crates/hir_def/src/body/tests/block.rs | |||
@@ -32,6 +32,7 @@ fn outer() { | |||
32 | use Struct as PlainStruct; | 32 | use Struct as PlainStruct; |
33 | use crate::Struct as CrateStruct; | 33 | use crate::Struct as CrateStruct; |
34 | use self::Struct as SelfStruct; | 34 | use self::Struct as SelfStruct; |
35 | use super::Struct as SuperStruct; | ||
35 | $0 | 36 | $0 |
36 | } | 37 | } |
37 | "#, | 38 | "#, |
@@ -41,6 +42,7 @@ fn outer() { | |||
41 | PlainStruct: t v | 42 | PlainStruct: t v |
42 | SelfStruct: t | 43 | SelfStruct: t |
43 | Struct: v | 44 | Struct: v |
45 | SuperStruct: _ | ||
44 | 46 | ||
45 | crate | 47 | crate |
46 | Struct: t | 48 | Struct: t |