#![crate_type = "lib"] // EMIT_MIR_FOR_EACH_PANIC_STRATEGY //@ compile-flags: -Zmir-opt-level=2 -Zinline-mir // EMIT_MIR unwrap_unchecked.unwrap_unchecked.Inline.diff // EMIT_MIR unwrap_unchecked.unwrap_unchecked.PreCodegen.after.mir pub unsafe fn unwrap_unchecked(slf: Option) -> T { // CHECK-LABEL: fn unwrap_unchecked( // CHECK: (inlined #[track_caller] Option::::unwrap_unchecked) slf.unwrap_unchecked() }