The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.
Path::name
path
Closes https://github.com/rust-lang/rust/issues/135600 Effectivly reverts https://github.com/rust-lang/rust/pull/134880