1 // originally from rustc ./src/test/ui/regions/issue-78262.rs
2 // ICE: to get the signature of a closure, use substs.as_closure().sig() not fn_sig()
11 let f = |x: &dyn TT| x.func(); //[default]~ ERROR: mismatched types
12 //[nll]~^ ERROR: borrowed data escapes outside of closure