Checks if lifetime names follow the Rust naming convention.