diff options
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r-- | crates/ra_hir/src/ty/tests.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs index 38fe62279..c60e72abf 100644 --- a/crates/ra_hir/src/ty/tests.rs +++ b/crates/ra_hir/src/ty/tests.rs | |||
@@ -3065,7 +3065,7 @@ impl<T, U> Into<U> for T where U: From<T> {} | |||
3065 | fn test() { S2.into()<|>; } | 3065 | fn test() { S2.into()<|>; } |
3066 | "#, | 3066 | "#, |
3067 | ); | 3067 | ); |
3068 | assert_eq!(t, "S1"); | 3068 | assert_eq!(t, "{unknown}"); |
3069 | } | 3069 | } |
3070 | 3070 | ||
3071 | #[test] | 3071 | #[test] |
@@ -3082,7 +3082,7 @@ impl<T, U: From<T>> Into<U> for T {} | |||
3082 | fn test() { S2.into()<|>; } | 3082 | fn test() { S2.into()<|>; } |
3083 | "#, | 3083 | "#, |
3084 | ); | 3084 | ); |
3085 | assert_eq!(t, "S1"); | 3085 | assert_eq!(t, "{unknown}"); |
3086 | } | 3086 | } |
3087 | 3087 | ||
3088 | #[test] | 3088 | #[test] |
@@ -3124,7 +3124,7 @@ impl<B, C> Trait for S<B, C> where C: FnX, B: SendX {} | |||
3124 | fn test() { (S {}).method()<|>; } | 3124 | fn test() { (S {}).method()<|>; } |
3125 | "#, | 3125 | "#, |
3126 | ); | 3126 | ); |
3127 | assert_eq!(t, "{unknown}"); | 3127 | assert_eq!(t, "()"); |
3128 | } | 3128 | } |
3129 | 3129 | ||
3130 | #[test] | 3130 | #[test] |
@@ -3604,11 +3604,11 @@ fn test(x: Trait, y: &Trait) -> u64 { | |||
3604 | [129; 132) 'bar': fn bar() -> {unknown} | 3604 | [129; 132) 'bar': fn bar() -> {unknown} |
3605 | [129; 134) 'bar()': {unknown} | 3605 | [129; 134) 'bar()': {unknown} |
3606 | [140; 141) 'x': {unknown} | 3606 | [140; 141) 'x': {unknown} |
3607 | [140; 147) 'x.foo()': {unknown} | 3607 | [140; 147) 'x.foo()': u64 |
3608 | [153; 154) 'y': &{unknown} | 3608 | [153; 154) 'y': &{unknown} |
3609 | [153; 160) 'y.foo()': {unknown} | 3609 | [153; 160) 'y.foo()': u64 |
3610 | [166; 167) 'z': {unknown} | 3610 | [166; 167) 'z': {unknown} |
3611 | [166; 173) 'z.foo()': {unknown} | 3611 | [166; 173) 'z.foo()': u64 |
3612 | "### | 3612 | "### |
3613 | ); | 3613 | ); |
3614 | } | 3614 | } |