diff options
| author | David Wood <david.wood@huawei.com> | 2023-03-02 11:54:37 +0000 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2023-07-03 13:40:20 +0100 |
| commit | 9137fea30dedd23fd78479732056fe2de29efeb8 (patch) | |
| tree | 65027035e0d49a49794b5cc0d9a051177f160ab3 /tests/ui/hashmap | |
| parent | c75b080d7d878740c49539413d1b000906d420d4 (diff) | |
| download | rust-9137fea30dedd23fd78479732056fe2de29efeb8.tar.gz rust-9137fea30dedd23fd78479732056fe2de29efeb8.zip | |
lint/ctypes: check other types for ext. fn-ptr ty
Extend previous checks for external ABI fn-ptrs to use in internal statics, constants, type aliases and algebraic data types. Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'tests/ui/hashmap')
| -rw-r--r-- | tests/ui/hashmap/hashmap-memory.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/hashmap/hashmap-memory.rs b/tests/ui/hashmap/hashmap-memory.rs index 87f8b6ad573..bd364b349e2 100644 --- a/tests/ui/hashmap/hashmap-memory.rs +++ b/tests/ui/hashmap/hashmap-memory.rs @@ -1,5 +1,6 @@ // run-pass +#![allow(improper_ctypes_definitions)] #![allow(non_camel_case_types)] #![allow(dead_code)] #![allow(unused_mut)] |
