File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ impl BuiltinFnLikeExpander {
74
74
}
75
75
76
76
pub fn is_asm ( & self ) -> bool {
77
- matches ! ( self , Self :: Asm | Self :: GlobalAsm )
77
+ matches ! ( self , Self :: Asm | Self :: GlobalAsm | Self :: NakedAsm )
78
78
}
79
79
}
80
80
@@ -122,6 +122,7 @@ register_builtin! {
122
122
( stringify, Stringify ) => stringify_expand,
123
123
( asm, Asm ) => asm_expand,
124
124
( global_asm, GlobalAsm ) => asm_expand,
125
+ ( naked_asm, NakedAsm ) => asm_expand,
125
126
( cfg, Cfg ) => cfg_expand,
126
127
( core_panic, CorePanic ) => panic_expand,
127
128
( std_panic, StdPanic ) => panic_expand,
Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ impl<'db> SemanticsImpl<'db> {
434
434
| BuiltinFnLikeExpander :: ModulePath
435
435
| BuiltinFnLikeExpander :: Asm
436
436
| BuiltinFnLikeExpander :: GlobalAsm
437
+ | BuiltinFnLikeExpander :: NakedAsm
437
438
| BuiltinFnLikeExpander :: LogSyntax
438
439
| BuiltinFnLikeExpander :: TraceMacros
439
440
| BuiltinFnLikeExpander :: FormatArgs
Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ define_symbols! {
307
307
module_path,
308
308
mul_assign,
309
309
mul,
310
+ naked_asm,
310
311
ne,
311
312
neg,
312
313
Neg ,
You can’t perform that action at this time.
0 commit comments