diff options
| author | Ryan Mehri <ryan.mehri1@gmail.com> | 2023-10-20 11:11:37 -0700 |
|---|---|---|
| committer | Ryan Mehri <ryan.mehri1@gmail.com> | 2023-10-25 15:22:01 -0700 |
| commit | 9b3f5e15277a2089140db89704277a682374efba (patch) | |
| tree | 133b1569de0d596921c890951c8a5d9bfdf88fd4 /tests | |
| parent | 2f9aa7da9fefdd028d09e4c7450994b3323b2cfa (diff) | |
| download | rust-9b3f5e15277a2089140db89704277a682374efba.tar.gz rust-9b3f5e15277a2089140db89704277a682374efba.zip | |
FileCheck dont_ice_on_generic_rust_call
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/mir-opt/inline/dont_ice_on_generic_rust_call.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/inline/dont_ice_on_generic_rust_call.rs b/tests/mir-opt/inline/dont_ice_on_generic_rust_call.rs index 4147325ec44..3307a1408fb 100644 --- a/tests/mir-opt/inline/dont_ice_on_generic_rust_call.rs +++ b/tests/mir-opt/inline/dont_ice_on_generic_rust_call.rs @@ -1,4 +1,3 @@ -// skip-filecheck // EMIT_MIR_FOR_EACH_PANIC_STRATEGY // compile-flags: -Zmir-enable-passes=+Inline --crate-type=lib @@ -8,5 +7,7 @@ use std::marker::Tuple; // EMIT_MIR dont_ice_on_generic_rust_call.call.Inline.diff pub fn call<I: Tuple>(mut mock: Box<dyn FnMut<I, Output = ()>>, input: I) { + // CHECK-LABEL: fn call( + // CHECK-NOT: (inlined <Box<dyn FnMut<I, Output = ()>> as FnMut<I>>::call_mut) mock.call_mut(input) } |
