This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
src/tools/rust-analyzer/crates Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ impl BuiltinFnLikeExpander {
7474 }
7575
7676 pub fn is_asm ( & self ) -> bool {
77- matches ! ( self , Self :: Asm | Self :: GlobalAsm )
77+ matches ! ( self , Self :: Asm | Self :: GlobalAsm | Self :: NakedAsm )
7878 }
7979}
8080
@@ -122,6 +122,7 @@ register_builtin! {
122122 ( stringify, Stringify ) => stringify_expand,
123123 ( asm, Asm ) => asm_expand,
124124 ( global_asm, GlobalAsm ) => asm_expand,
125+ ( naked_asm, NakedAsm ) => asm_expand,
125126 ( cfg, Cfg ) => cfg_expand,
126127 ( core_panic, CorePanic ) => panic_expand,
127128 ( std_panic, StdPanic ) => panic_expand,
Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ impl<'db> SemanticsImpl<'db> {
434434 | BuiltinFnLikeExpander :: ModulePath
435435 | BuiltinFnLikeExpander :: Asm
436436 | BuiltinFnLikeExpander :: GlobalAsm
437+ | BuiltinFnLikeExpander :: NakedAsm
437438 | BuiltinFnLikeExpander :: LogSyntax
438439 | BuiltinFnLikeExpander :: TraceMacros
439440 | BuiltinFnLikeExpander :: FormatArgs
Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ define_symbols! {
307307 module_path,
308308 mul_assign,
309309 mul,
310+ naked_asm,
310311 ne,
311312 neg,
312313 Neg ,
You can’t perform that action at this time.
0 commit comments