Make extern blocks without unsafe warn in edition 2024
This commit is contained in:
parent
46cd80b691
commit
3ba8de0b60
10 changed files with 78 additions and 7 deletions
|
@ -451,8 +451,8 @@ mod items {
|
|||
mod item_mod { }
|
||||
/// ItemKind::ForeignMod
|
||||
mod item_foreign_mod {
|
||||
extern "C++" {}
|
||||
extern {}
|
||||
unsafe extern "C++" {}
|
||||
unsafe extern {}
|
||||
}
|
||||
/// ItemKind::GlobalAsm
|
||||
mod item_global_asm {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue