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:
parent
81d8edc200
commit
dfed028e78
44 changed files with 17 additions and 76 deletions
|
@ -1,4 +1,3 @@
|
|||
// ignore-tidy-linelength
|
||||
use std::fmt::Debug;
|
||||
|
||||
//@ count "$.index[*][?(@.name=='dyn')].inner.module.items[*]" 3
|
||||
|
|
|
@ -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\"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// ignore-tidy-linelength
|
||||
|
||||
//@ set result = "$.index[*][?(@.name=='Result')].id"
|
||||
pub enum Result<T, E> {
|
||||
Ok(T),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// ignore-tidy-linelength
|
||||
#![feature(inherent_associated_types)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// ignore-tidy-linelength
|
||||
#![feature(inherent_associated_types)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// ignore-tidy-linelength
|
||||
#![feature(inherent_associated_types)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue