Simplify implementation for par_for_each_module
smallvec
For more information about how rustc works, see the rustc dev guide.