Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index 504a1c970e..8f69bb8230 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -651,10 +651,9 @@ fn main() {
let Union { field: _ };
// but not these
let Union { field };
- let Union { field: true };
let Union { field: field };
let Union { field: ref field };
- let Union { field: (ref field | 0) };
+ let Union { field: (_ | ref field) };
// unsafe deref
*&raw const*&*x;
@@ -672,7 +671,7 @@ fn main() {
core::arch::asm!(
"push {base}",
- base$0 = const 0
+ base = const 0
);
}
}