Unnamed repository; edit this file 'description' to name the repository.
Max Heller 2023-08-09
parent 400f618 · commit fb98f52
-rw-r--r--crates/ide-completion/src/tests/type_pos.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide-completion/src/tests/type_pos.rs b/crates/ide-completion/src/tests/type_pos.rs
index 273716bd51..d518dd7641 100644
--- a/crates/ide-completion/src/tests/type_pos.rs
+++ b/crates/ide-completion/src/tests/type_pos.rs
@@ -753,6 +753,9 @@ fn completes_const_and_type_generics_separately() {
kw self::
"#]],
);
+ // FIXME: This should probably also suggest completions for types, at least those that have
+ // associated constants usable in this position. For example, a user could be typing
+ // `foo::<_, { usize::MAX }>()`, but we currently don't suggest `usize` in constant position.
check(
r#"
struct Foo;