libcore: use unboxed closures in the fields of `Inspect`
libcoretest: fix fallout