internal: Treat {global_}asm macros as unsafe

This commit is contained in:
Lukas Wirth 2022-03-20 19:27:46 +01:00
parent 3b7b223b25
commit ddf144051a
4 changed files with 23 additions and 5 deletions

View file

@ -347,7 +347,7 @@ mod __ {
}
macro_rules! void {
($($tt:tt)) => {}
($($tt:tt)*) => {}
}
void!(Self);
struct __ where Self:;