From c312ab51d0d0bcee9514e08e6fafea26d061ea67 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 5 Feb 2021 19:25:50 +0100 Subject: Test `super` resolution too --- crates/hir_def/src/body/tests/block.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/hir_def/src') 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() { use Struct as PlainStruct; use crate::Struct as CrateStruct; use self::Struct as SelfStruct; + use super::Struct as SuperStruct; $0 } "#, @@ -41,6 +42,7 @@ fn outer() { PlainStruct: t v SelfStruct: t Struct: v + SuperStruct: _ crate Struct: t -- cgit v1.2.3