Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/tests/method_resolution.rs')
-rw-r--r--crates/hir-ty/src/tests/method_resolution.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/crates/hir-ty/src/tests/method_resolution.rs b/crates/hir-ty/src/tests/method_resolution.rs
index c837fae3fe..c521dbf167 100644
--- a/crates/hir-ty/src/tests/method_resolution.rs
+++ b/crates/hir-ty/src/tests/method_resolution.rs
@@ -1462,28 +1462,6 @@ fn f() {
}
#[test]
-fn trait_impl_in_synstructure_const() {
- check_types(
- r#"
-struct S;
-
-trait Tr {
- fn method(&self) -> u16;
-}
-
-const _DERIVE_Tr_: () = {
- impl Tr for S {}
-};
-
-fn f() {
- S.method();
- //^^^^^^^^^^ u16
-}
- "#,
- );
-}
-
-#[test]
fn inherent_impl_in_unnamed_const() {
check_types(
r#"