rust-analyzer/crates/mbe
Luiz Carvalho 117a28a065
fix(mbe): desugar doc correctly for mbe
Fixes #16110.

The way rust desugars doc comments when expanding macros
is rendering it as raw strings delimited with hashes.
Rust-analyzer wasn't aware of this, so the desugared doc
comments wouldn't match correctly when on the LHS of macro
declarations.

This PR fixes this by porting the code used by rustc: 4cfdbd328b/compiler/rustc_ast/src/tokenstream.rs (L6837)
2023-12-19 00:55:56 -03:00
..
src fix(mbe): desugar doc correctly for mbe 2023-12-19 00:55:56 -03:00
Cargo.toml internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00