4 #![allow(unused_variables)]
5 // Test that the `wf` checker properly handles bound regions in object
6 // types. Compiling this code used to trigger an ICE.
8 // pretty-expanded FIXME #23616
10 pub struct Context<'tcx> {
14 pub type Cmd<'a> = &'a isize;
16 pub type DecodeInlinedItem<'a> =
17 Box<dyn for<'tcx> FnMut(Cmd, &Context<'tcx>) -> Result<&'tcx isize, ()> + 'a>;
19 fn foo(d: DecodeInlinedItem) {