mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
internal: Treat {global_}asm macros as unsafe
This commit is contained in:
parent
3b7b223b25
commit
ddf144051a
4 changed files with 23 additions and 5 deletions
|
@ -347,7 +347,7 @@ mod __ {
|
|||
}
|
||||
|
||||
macro_rules! void {
|
||||
($($tt:tt)) => {}
|
||||
($($tt:tt)*) => {}
|
||||
}
|
||||
void!(Self);
|
||||
struct __ where Self:;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue