]>
git.proxmox.com Git - rustc.git/blob - tests/ui/unboxed-closures/issue-18661.rs
2 // Test that param substitutions from the correct environment are
3 // used when codegenning unboxed closure calls.
5 // pretty-expanded FIXME #23616
7 pub fn inside
<F
: Fn()>(c
: F
) {
11 // Use different number of type parameters and closure type to trigger
12 // an obvious ICE when param environments are mixed up
13 pub fn outside
<A
,B
>() {