• gtk4 0.5.5/src/rt.rs
    86
    #[allow(unknown_lints)]
    87
    #[allow(clippy::if_then_panic)]
    88
    pub unsafe fn set_initialized() {
    122
    #[allow(unknown_lints)]
    123
    #[allow(clippy::if_then_panic)]
    124
    pub fn init() -> Result<(), glib::BoolError> {
  • blade-graphics 0.1.1/src/lib.rs
    14
        // "if panic" is a good uniform construct.
    15
        clippy::if_then_panic,
    16
    )]
  • starlark 0.8.0/src/assert/assert.rs
    22
    // We want to carefully control the panic message.
    23
    #![allow(clippy::if_then_panic)]
  • starlark 0.8.0/src/assert/conformance.rs
    23
    // We want to carefully control the panic message.
    24
    #![allow(clippy::if_then_panic)]
  • umbra-lang 0.21.0/src/lib.rs
    50
    #![allow(clippy::unnested_or_patterns)]
    51
    #![allow(clippy::if_then_panic)]
  • wgpu-hal 0.15.1/src/lib.rs
    35
        // "if panic" is a good uniform construct.
    36
        clippy::if_then_panic,
    37
        // We unsafe impl `Send` for a reason.