Skip to content

Commit fb98f52

Browse files
committed
fixme
1 parent 400f618 commit fb98f52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/ide-completion/src/tests/type_pos.rs

+3
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,9 @@ fn completes_const_and_type_generics_separately() {
753753
kw self::
754754
"#]],
755755
);
756+
// FIXME: This should probably also suggest completions for types, at least those that have
757+
// associated constants usable in this position. For example, a user could be typing
758+
// `foo::<_, { usize::MAX }>()`, but we currently don't suggest `usize` in constant position.
756759
check(
757760
r#"
758761
struct Foo;

0 commit comments

Comments
 (0)