<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> It's possible *usually* rust-analyzer would suggest importing the trait, but the problem in *this* case was the futures crate wasn't even in the project, so there was no way for rust-analyzer to know. So this gets back to a social, not a technical problem:</p><p>DISTRIBUTORS OF RUST CRATES ARE *CONSTANTLY* DROPPING EXAMPLE CODE IN examples/ WITHOUT DOCUMENTING IN THE EXAMPLE SOURCE ITSELF WHICH CRATES IT DEPENDS ON AND WHICH VERSIONS</p>