Checks if the right number of lifetime parameters was used for a type or trait. Corresponds to
E0106
/
E0107
Rust errors.