Skip to content

Commit aa388f1

Browse files
committed
ignore-tidy-filelength on all files with greater than 3000 lines
1 parent 9496583 commit aa388f1

File tree

25 files changed

+52
-0
lines changed

25 files changed

+52
-0
lines changed

src/liballoc/collections/vec_deque.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! A double-ended queue implemented with a growable ring buffer.
24
//!
35
//! This queue has `O(1)` amortized inserts and removals from both ends of the

src/libcore/num/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Numeric traits and functions for the built-in numeric types.
24
35
#![stable(feature = "rust1", since = "1.0.0")]

src/libcore/ptr.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Manually manage memory through raw pointers.
24
//!
35
//! *[See also the pointer primitive types](../../std/primitive.pointer.html).*

src/libcore/slice/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Slice management and manipulation.
24
//!
35
//! For more details see [`std::slice`].

src/libcore/str/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! String manipulation.
24
//!
35
//! For more details, see the `std::str` module.

src/librustc/hir/lowering.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Lowers the AST to the HIR.
24
//!
35
//! Since the AST and HIR are fairly similar, this is mostly a simple procedure,

src/librustc/mir/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! MIR datatypes and passes. See the [rustc guide] for more info.
24
//!
35
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/index.html

src/librustc/session/config.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Contains infrastructure for configuring the compiler, including parsing
24
//! command line options.
35

src/librustc/traits/select.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Candidate selection. See the [rustc guide] for more information on how this works.
24
//!
35
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html#selection

src/librustc/ty/context.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Type context book-keeping.
24
35
use crate::arena::Arena;

src/librustc/ty/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
#![allow(usage_of_ty_tykind)]
24

35
pub use self::Variance::*;

src/librustc_apfloat/tests/ieee.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
use rustc_apfloat::{Category, ExpInt, IEK_INF, IEK_NAN, IEK_ZERO};
24
use rustc_apfloat::{Float, FloatConvert, ParseError, Round, Status};
35
use rustc_apfloat::ieee::{Half, Single, Double, Quad, X87DoubleExtended};

src/librustc_resolve/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
24

35
#![feature(crate_visibility_modifier)]

src/librustc_typeck/check/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
/*!
24
35
# typeck: check phase

src/librustc_typeck/error_codes.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// ignore-tidy-linelength
2+
// ignore-tidy-filelength
3+
24
#![allow(non_snake_case)]
35

46
register_long_diagnostics! {

src/librustdoc/clean/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! This module contains the "cleaned" pieces of the AST, and the functions
24
//! that clean them.
35

src/librustdoc/html/render.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Rustdoc's HTML rendering module.
24
//!
35
//! This modules contains the bulk of the logic necessary for rendering a

src/libstd/collections/hash/map.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
use self::Entry::*;
24

35
use hashbrown::hash_map as base;

src/libstd/fs.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Filesystem manipulation operations.
24
//!
35
//! This module contains basic methods to manipulate the contents of the local

src/libstd/path.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Cross-platform path manipulation.
24
//!
35
//! This module provides two types, [`PathBuf`] and [`Path`][`Path`] (akin to [`String`]

src/libstd/sync/mpsc/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
//! Multi-producer, single-consumer FIFO queue communication primitives.
24
//!
35
//! This module provides message-based communication over channels, concretely

src/libsyntax/parse/parser.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
use crate::ast::{AngleBracketedArgs, AsyncArgument, ParenthesizedArgs, AttrStyle, BareFnTy};
24
use crate::ast::{GenericBound, TraitBoundModifier};
35
use crate::ast::Unsafety;

src/libsyntax/print/pprust.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
use crate::ast::{self, BlockCheckMode, PatKind, RangeEnd, RangeSyntax};
24
use crate::ast::{SelfKind, GenericBound, TraitBoundModifier};
35
use crate::ast::{Attribute, MacDelimiter, GenericArg};

src/test/run-pass/issues/issue-29466.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
// ignore-tidy-filelength
2+
//
13
// run-pass
4+
25
#![allow(unused_variables)]
6+
37
macro_rules! m(
48
($e1:expr => $e2:expr) => ({ $e1 })
59
);

src/tools/compiletest/src/runtest.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore-tidy-filelength
2+
13
use crate::common::CompareMode;
24
use crate::common::{expected_output_path, UI_EXTENSIONS, UI_FIXED, UI_STDERR, UI_STDOUT};
35
use crate::common::{output_base_dir, output_base_name, output_testname_unique};

0 commit comments

Comments
 (0)