diff options
| author | Hongxu Xu <xuhongxu96@hotmail.com> | 2022-07-07 07:28:55 +0800 |
|---|---|---|
| committer | Hongxu Xu <xuhongxu96@hotmail.com> | 2022-07-07 07:28:55 +0800 |
| commit | 3248601a03233778fa6a64516a783c2a49c265b7 (patch) | |
| tree | 267cb41d2fce3be7633e78f9f9aead93e33ed8b4 | |
| parent | 0360ed53cf7f5b146068f3e8f4a12094e93b4685 (diff) | |
| download | rust-3248601a03233778fa6a64516a783c2a49c265b7.tar.gz rust-3248601a03233778fa6a64516a783c2a49c265b7.zip | |
fix default type param value position
| -rw-r--r-- | crates/ide-completion/src/tests/type_pos.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide-completion/src/tests/type_pos.rs b/crates/ide-completion/src/tests/type_pos.rs index d10fcb2ccea..fcd4743f74f 100644 --- a/crates/ide-completion/src/tests/type_pos.rs +++ b/crates/ide-completion/src/tests/type_pos.rs @@ -563,7 +563,7 @@ fn f(t: impl MyTrait<u8, u8, I$0 fn completes_type_parameter_or_associated_type_with_default_value() { check( r#" -trait MyTrait<T = u8, U> { +trait MyTrait<T, U = u8> { type Item1; type Item2; }; @@ -590,7 +590,7 @@ fn f(t: impl MyTrait<u$0 check( r#" -trait MyTrait<T = u8, U> { +trait MyTrait<T, U = u8> { type Item1; type Item2; }; @@ -619,7 +619,7 @@ fn f(t: impl MyTrait<u8, u$0 check( r#" -trait MyTrait<T = u8, U> { +trait MyTrait<T, U = u8> { type Item1; type Item2; }; |
