diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2019-08-12 16:00:10 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2019-08-12 16:00:10 +0200 |
| commit | f5b0a68fbfbaa542becc269b64e99efb5c9abaec (patch) | |
| tree | 3b2a9d029ae8b779d9d4968d594e77ecb4e41ae6 /example/mini_core.rs | |
| parent | 314141392a6f97471ec6fc46a7a10053dacf59e9 (diff) | |
| download | rust-f5b0a68fbfbaa542becc269b64e99efb5c9abaec.tar.gz rust-f5b0a68fbfbaa542becc269b64e99efb5c9abaec.zip | |
Fix some warnings
Diffstat (limited to 'example/mini_core.rs')
| -rw-r--r-- | example/mini_core.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index 84664eb4139..fc31daf596f 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -430,6 +430,7 @@ pub trait Drop { fn drop(&mut self); } +#[allow(unions_with_drop_fields)] pub union MaybeUninit<T> { pub uninit: (), pub value: T, |
