diff options
| author | Max Heller <max.a.heller@gmail.com> | 2023-08-08 20:55:35 -0400 |
|---|---|---|
| committer | Max Heller <max.a.heller@gmail.com> | 2023-08-08 20:55:35 -0400 |
| commit | fb98f522d216ee0c28b56115b130c5374c444ed9 (patch) | |
| tree | 1c6e390d68737b7061581a0eecea8ab6db8b2fce | |
| parent | 400f618a5c64b0a32312e411e8d0d42293738e6c (diff) | |
| download | rust-fb98f522d216ee0c28b56115b130c5374c444ed9.tar.gz rust-fb98f522d216ee0c28b56115b130c5374c444ed9.zip | |
fixme
| -rw-r--r-- | crates/ide-completion/src/tests/type_pos.rs | 3 |
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 273716bd513..d518dd76410 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; |
