aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/traits.rs
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2021-02-10 16:37:15 +0000
committerJonas Schievink <[email protected]>2021-02-10 16:37:15 +0000
commit2382dce2d3ac6c301bb3aa0d640385a59adbfe37 (patch)
tree192f8733cc951719165beb41a2a13ce2e057e204 /crates/hir_ty/src/tests/traits.rs
parent7ec03439a89943e46a22fa3c158eb7fffb205666 (diff)
Slightly expand test
Diffstat (limited to 'crates/hir_ty/src/tests/traits.rs')
-rw-r--r--crates/hir_ty/src/tests/traits.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir_ty/src/tests/traits.rs b/crates/hir_ty/src/tests/traits.rs
index e030f4a97..7fce441f2 100644
--- a/crates/hir_ty/src/tests/traits.rs
+++ b/crates/hir_ty/src/tests/traits.rs
@@ -3198,6 +3198,9 @@ fn f() {
3198 ().method(); 3198 ().method();
3199 //^^^^^^^^^^^ {unknown} 3199 //^^^^^^^^^^^ {unknown}
3200 } 3200 }
3201
3202 ().method();
3203 //^^^^^^^^^^^ {unknown}
3201} 3204}
3202 "#, 3205 "#,
3203 ); 3206 );