mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-15 22:54:00 +00:00
fixme
This commit is contained in:
parent
400f618a5c
commit
fb98f522d2
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue