improper_ctypes lint for individual foreign items
This commit is contained in:
parent
73c78734ba
commit
70cafecaba
2 changed files with 17 additions and 13 deletions
|
|
@ -88,6 +88,13 @@ extern {
|
|||
pub fn good15(p: TransparentLifetime);
|
||||
pub fn good16(p: TransparentUnit<ZeroSize>);
|
||||
pub fn good17(p: TransparentCustomZst);
|
||||
#[allow(improper_ctypes)]
|
||||
pub fn good18(_: &String);
|
||||
}
|
||||
|
||||
#[allow(improper_ctypes)]
|
||||
extern {
|
||||
pub fn good19(_: &String);
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue