title: Rust-analyzer throws "unresolved-macro" despite disabling "macro-error" and "unresolved-macro-call"
body: <p>I'm writing some backend code in rust using VSCode and of course the rust-analyzer.
  As many others, I have gotten issues with linting of macros by rust-anylyzer.
  I tried suppressing the linting/errors in <code>settings.json</code>, but with very little success.</p>
  <pre><code>    &quot;editor.defaultFormatter&quot;: &quot;matklad.rust-analyzer&quot;,
      &quot;rust-analyzer.diagnostics.disabled&quot;: [
          &quot;macro-error&quot;,
          &quot;unresolved-macro-call&quot;,
          &quot;unresolved-import&quot;
      ],
      &quot;rust-analyzer.experimental.procAttrMacros&quot;: false,
      &quot;rust-analyzer.procMacro.enable&quot;: false
  </code></pre>
  <p>Yet somehow I <em>still</em> receive linting and error displays of unresolved-macro-errors.</p>
  <p>I have also tried setting <code>procAttrMacros</code> and <code>procMacro.enable</code> to true, error still occurs. All github/so-questions related to the matter just suggest fiddling with <code>rust-analyzer.diagnostics.disabled property</code>, which I have, but that has not fixed the issue.</p>
  <p>What am I doing wrong?</p>
  <p><a href="https://i.stack.imgur.com/K70fE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K70fE.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/GTJU5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GTJU5.png" alt="enter image description here" /></a></p>