Closed
Description
r-a version: 11b9233
.vim/coc-settings.json
:
{
"rust-analyzer.checkOnSave.overrideCommand": [
"./x.py",
"check",
"--json-output"
],
"rust-analyzer.rustfmt.overrideCommand": [
"./build/x86_64-unknown-linux-gnu/stage0/bin/rustfmt"
],
"rust-analyzer.cargo.runBuildScripts": false,
"rust-analyzer.procMacro.enable": false
}
Reproduction steps:
- Open
library/proc_macro/src/bridge/buffer.rs
in the rust repo (I happened to use 64de4979) with the recommended config. - Get an unresolved-macro-call here:
impl<T: Copy> Default for Buffer<T> {
fn default() -> Self {
Self::from(vec![])
// ^^^
}
}
cc #8915