1
Fork 0

Always allow rustdoc-json tests to contain long lines

The rustdoc-json test syntax often requires very long lines, so the checks
for long lines aren't really useful.
This commit is contained in:
Noratrieb 2025-03-03 19:59:12 +01:00
parent 81d8edc200
commit dfed028e78
44 changed files with 17 additions and 76 deletions

View file

@ -1,4 +1,3 @@
// ignore-tidy-linelength
use std::fmt::Debug;
//@ count "$.index[*][?(@.name=='dyn')].inner.module.items[*]" 3

View file

@ -1,5 +1,3 @@
// ignore-tidy-linelength
//@ has "$.index[*][?(@.name=='GenericFn')].inner.type_alias"
//@ ismany "$.index[*][?(@.name=='GenericFn')].inner.type_alias.generics.params[*].name" \"\'a\"

View file

@ -1,5 +1,3 @@
// ignore-tidy-linelength
//@ set result = "$.index[*][?(@.name=='Result')].id"
pub enum Result<T, E> {
Ok(T),

View file

@ -1,5 +1,3 @@
// ignore-tidy-linelength
//@ is "$.index[*][?(@.name=='genfn')].inner.function.generics.where_predicates[0].bound_predicate.type" '{"generic": "F"}'
//@ is "$.index[*][?(@.name=='genfn')].inner.function.generics.where_predicates[0].bound_predicate.generic_params" '[{"kind": {"lifetime": {"outlives": []}},"name": "'\''a"},{"kind": {"lifetime": {"outlives": []}},"name": "'\''b"}]'
pub fn genfn<F>(f: F)

View file

@ -1,4 +1,3 @@
// ignore-tidy-linelength
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]

View file

@ -1,4 +1,3 @@
// ignore-tidy-linelength
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]

View file

@ -1,4 +1,3 @@
// ignore-tidy-linelength
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]