syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros.
This commit is contained in:
parent
2fa5340318
commit
8a4facc3c3
18 changed files with 155 additions and 31 deletions
|
@ -79,6 +79,7 @@ impl<'a> Folder for ExpandAllocatorDirectives<'a> {
|
|||
format: MacroAttribute(Symbol::intern(name)),
|
||||
span: None,
|
||||
allow_internal_unstable: true,
|
||||
allow_internal_unsafe: false,
|
||||
}
|
||||
});
|
||||
let span = Span {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue