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: rust-analyzer version: 0.3.1451-standalone (b99d5eb 2023-03-26)
rustc version: rustc 1.68.0-nightly (ad8ae0504 2022-12-29)
relevant settings:
Macro expansion handles coercion differently than rustc
originally discovered in Intellij-rust, same bug exists in Rust-Analyzer intellij-rust/intellij-rust#10300
macro_rules! __ide_check_2 { (1) => { 0u32 /* IDE */}; ($number:literal) => { "RustC" } } macro_rules! __ide_check_1 { ($number:literal) => { __ide_check_2!($number) } } macro_rules! ide_check { () => {__ide_check_1!(1)} } pub fn main() { let a = ide_check!(); println!("{}", a); }
The text was updated successfully, but these errors were encountered:
Thanks for the report, this is a known issue that we don't know how to handle properly yet. Closing as a duplicate of #12603.
Sorry, something went wrong.
No branches or pull requests
rust-analyzer version: rust-analyzer version: 0.3.1451-standalone (b99d5eb 2023-03-26)
rustc version: rustc 1.68.0-nightly (ad8ae0504 2022-12-29)
relevant settings:
Macro expansion handles coercion differently than rustc
originally discovered in Intellij-rust, same bug exists in Rust-Analyzer
intellij-rust/intellij-rust#10300
The text was updated successfully, but these errors were encountered: