mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Fix fail to parse :: for meta in mbe
This commit is contained in:
parent
3d662e320b
commit
20eda09712
2 changed files with 4 additions and 2 deletions
|
@ -954,7 +954,8 @@ fn test_meta() {
|
|||
.assert_expand_items(
|
||||
r#"foo! { cfg(target_os = "windows") }"#,
|
||||
r#"# [cfg (target_os = "windows")] fn bar () {}"#,
|
||||
);
|
||||
)
|
||||
.assert_expand_items(r#"foo! { hello::world }"#, r#"# [hello :: world] fn bar () {}"#);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue