Is the std::file!() macro supposed to inline to "file" when ran in an editor? #18942
-
| 
         
  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
| 
         The   | 
  
Beta Was this translation helpful? Give feedback.

The
filemacro is currently unimplemented in rust-analyzer and so its stubbed with outputtingfile. Looking at the proc-macro, its also using theproc_macro_spanfeature which is not fully implemented by rust-analyzer yet either. So unfortunately rust-analyzer will error for your setup here (you can add the error code being emitted torust-analyzer.diagnostics.disabledto suppress it for the time being)