mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Parse builtin# syntax
This commit is contained in:
parent
db4684ef6c
commit
9b8eb807a3
17 changed files with 264 additions and 88 deletions
|
@ -534,7 +534,15 @@ fn main() {
|
|||
assert!(true, "{}", 1);
|
||||
assert!(true, "{} asdasd", 1);
|
||||
toho!("{}fmt", 0);
|
||||
asm!("mov eax, {0}");
|
||||
let i: u64 = 3;
|
||||
let o: u64;
|
||||
asm!(
|
||||
"mov {0}, {1}",
|
||||
"add {0}, 5",
|
||||
out(reg) o,
|
||||
in(reg) i,
|
||||
);
|
||||
|
||||
format_args!(concat!("{}"), "{}");
|
||||
format_args!("{} {} {} {} {} {}", backslash, format_args!("{}", 0), foo, "bar", toho!(), backslash);
|
||||
}"#,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue