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
test
rust-analyzer version: rust-analyzer version: 0.4.1423-standalone (73e2505 2023-03-03)
rustc version: rustc 1.69.0-nightly (d962ea578 2023-02-26)
We have a macro named test! that we need to use inside our tests; This redefinition causes RA to complain about the regular #[test] attributes.
test!
#[test]
A screenshot is better a showcasing this:
The error is:
[{ "resource": "/c:/Users/angus/Documents/GitHub/extendr/extendr-api/src/lib.rs", "owner": "rustc", "code": { "value": "unresolved-macro-call", "target": { "$mid": 1, "external": "https://rust-analyzer.github.io/manual.html#unresolved-macro-call", "path": "/manual.html", "scheme": "https", "authority": "rust-analyzer.github.io", "fragment": "unresolved-macro-call" } }, "severity": 8, "message": "unresolved macro `test`", "source": "rust-analyzer", "startLineNumber": 745, "startColumn": 5, "endLineNumber": 745, "endColumn": 12 }]
I'm more than happy to dig out more information on this.
The text was updated successfully, but these errors were encountered:
macro_use
9b33874
Successfully merging a pull request may close this issue.
rust-analyzer version: rust-analyzer version: 0.4.1423-standalone (73e2505 2023-03-03)
rustc version: rustc 1.69.0-nightly (d962ea578 2023-02-26)
We have a macro named
test!
that we need to use inside our tests;This redefinition causes RA to complain about the regular
#[test]
attributes.A screenshot is better a showcasing this:

The error is:
I'm more than happy to dig out more information on this.
The text was updated successfully, but these errors were encountered: