VSCode with rust-analyzer reports error for usage of Bencher

Workaround: go to workspace settings (Ctrl + ,) and add unresolved-extern-crate to analyzer.diagnostics.disabled


That fixed it for me for the time being.