aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/tests')
-rw-r--r--crates/hir_ty/src/tests/method_resolution.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/hir_ty/src/tests/method_resolution.rs b/crates/hir_ty/src/tests/method_resolution.rs
index 690f9d66e..0f17ff151 100644
--- a/crates/hir_ty/src/tests/method_resolution.rs
+++ b/crates/hir_ty/src/tests/method_resolution.rs
@@ -1072,7 +1072,6 @@ fn method_resolution_foreign_opaque_type() {
1072 s.foo(); 1072 s.foo();
1073 } 1073 }
1074 "#, 1074 "#,
1075 // FIXME: 's.foo()' should be `bool`.
1076 expect![[r#" 1075 expect![[r#"
1077 75..79 'self': &S 1076 75..79 'self': &S
1078 89..109 '{ ... }': bool 1077 89..109 '{ ... }': bool
@@ -1084,8 +1083,7 @@ fn method_resolution_foreign_opaque_type() {
1084 146..147 'f': fn f() -> &S 1083 146..147 'f': fn f() -> &S
1085 146..149 'f()': &S 1084 146..149 'f()': &S
1086 157..158 's': &S 1085 157..158 's': &S
1087 157..164 's.foo()': {unknown} 1086 157..164 's.foo()': bool
1088 "#]], 1087 "#]],
1089 ); 1088 );
1090} 1089}
1091