Closed
Description
Description
Autocomplete fails to show any result under specific circumstances:
This problem only seems to happen on rust nightly. It consistently disappears after rustup default stable
and restarting the RA server. The bytes
crate doesn't seems to have anything cfg'ed on nightly. Functions in other traits (e.g. std::io::Read
) seems to work fine.
Environment
- RA:
2020-11-23
(cadf0e9) - VSCode:
1.51.1
- Rust:
1.50.0-nightly (1c389ffef 2020-11-24)
Minimal reproducible example
- Switch to
nightly
toolchain - Add
bytes = "0.6"
to dependencies - Add
use bytes::{BytesMut, buf::Buf};
- Write
let buf = BytesMut::new();
- Try to complete on
buf.<|>
(Verified to be reproducible in Windows Sandbox using a fresh install of Rust, VSCode, and RA without changing any settings)
This is maybe related to #6612, but I'm not sure because a) it doesn't complete no matter what I do or how long I wait; and b) it somehow only appears in Rust nightly.
Edit: see #6668 (comment)