diff options
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r-- | crates/ra_hir_ty/src/tests/traits.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/ra_hir_ty/src/tests/traits.rs b/crates/ra_hir_ty/src/tests/traits.rs index 05a56215f..27737fa94 100644 --- a/crates/ra_hir_ty/src/tests/traits.rs +++ b/crates/ra_hir_ty/src/tests/traits.rs | |||
@@ -1995,7 +1995,6 @@ fn test() { | |||
1995 | fn fn_item_fn_trait() { | 1995 | fn fn_item_fn_trait() { |
1996 | check_types( | 1996 | check_types( |
1997 | r#" | 1997 | r#" |
1998 | //- /main.rs | ||
1999 | #[lang = "fn_once"] | 1998 | #[lang = "fn_once"] |
2000 | trait FnOnce<Args> { | 1999 | trait FnOnce<Args> { |
2001 | type Output; | 2000 | type Output; |
@@ -3025,7 +3024,6 @@ fn infer_box_fn_arg() { | |||
3025 | fn infer_dyn_fn_output() { | 3024 | fn infer_dyn_fn_output() { |
3026 | check_types( | 3025 | check_types( |
3027 | r#" | 3026 | r#" |
3028 | //- /lib.rs | ||
3029 | #[lang = "fn_once"] | 3027 | #[lang = "fn_once"] |
3030 | pub trait FnOnce<Args> { | 3028 | pub trait FnOnce<Args> { |
3031 | type Output; | 3029 | type Output; |
@@ -3049,7 +3047,6 @@ fn foo() { | |||
3049 | fn infer_dyn_fn_once_output() { | 3047 | fn infer_dyn_fn_once_output() { |
3050 | check_types( | 3048 | check_types( |
3051 | r#" | 3049 | r#" |
3052 | //- /lib.rs | ||
3053 | #[lang = "fn_once"] | 3050 | #[lang = "fn_once"] |
3054 | pub trait FnOnce<Args> { | 3051 | pub trait FnOnce<Args> { |
3055 | type Output; | 3052 | type Output; |