warning: calling `main` can unsafe --> $DIR/dont_panic_idx.rs:33:1 | 33 | } | ^ this can unsafe | note: `std::ptr::drop_in_place::>` can unsafe here --> /home/gh-estebank/.rustup/toolchains/nightly-2024-05-06-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:497:1 | 497 | pub unsafe fn drop_in_place(to_drop: *mut T) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `std::ptr::drop_in_place::>>` can unsafe here --> /home/gh-estebank/.rustup/toolchains/nightly-2024-05-06-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:497:1 | 497 | pub unsafe fn drop_in_place(to_drop: *mut T) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `> as std::ops::Drop>::drop` can unsafe here --> /home/gh-estebank/.rustup/toolchains/nightly-2024-05-06-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:3145:1 | 3145 | / atomic_int_ptr_sized! { 3146 | | "16" 2 3147 | | "32" 4 3148 | | "64" 8 3149 | | } | |_^ | ::: /home/gh-estebank/.rustup/toolchains/nightly-2024-05-06-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sync/remutex.rs:159:5 | 159 | fn drop(&mut self) { | ------------------ = note: `#[warn(redpen::call_unsafe)]` on by default warning: 1 warning emitted