We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust-analyzer version: 0.3.1940-standalone (f216be4 2024-04-27)
rustc version:
rustc -Vv rustc 1.77.2 (25ef9e3d8 2024-04-09) binary: rustc commit-hash: 25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04 commit-date: 2024-04-09 host: aarch64-apple-darwin release: 1.77.2 LLVM version: 17.0.6
editor or extension: VSCode
code snippet to reproduce:
#[divan::bench] fn my_benchmark(bencher: divan::Bencher) { bencher.bench(|| {/* ... */}); }
It used to be that methods like bench or with_inputs + bench_values would be suggested by Rust Analyzer. This no longer works.
bench
with_inputs
bench_values
Bencher uses a similar pattern to:
Bencher
struct Container<A>(A); impl<A: Fn()> Container<A> { fn invoke(&self) { (self.0)() } }
The text was updated successfully, but these errors were encountered:
cc @davidbarsky I assume that this might be caused by your changes
Sorry, something went wrong.
No branches or pull requests
rust-analyzer version: 0.3.1940-standalone (f216be4 2024-04-27)
rustc version:
editor or extension: VSCode
code snippet to reproduce:
It used to be that methods like
bench
orwith_inputs
+bench_values
would be suggested by Rust Analyzer. This no longer works.Bencher
uses a similar pattern to:The text was updated successfully, but these errors were encountered: