Skip to content

Commit c2be285

Browse files
authored
Rollup merge of rust-lang#83807 - sjakobi:77548-remove-ignore-annotations, r=Mark-Simulacrum
Tests: Remove redundant `ignore-tidy-linelength` annotations This is step 2 towards fixing rust-lang#77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
2 parents 37efee6 + 3ea62cb commit c2be285

File tree

271 files changed

+1596
-1848
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+1596
-1848
lines changed

src/test/codegen-units/item-collection/drop_in_place_intrinsic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33
// compile-flags:-Zinline-in-all-cgus
44

src/test/codegen-units/item-collection/function-as-argument.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33

44
#![deny(dead_code)]

src/test/codegen-units/item-collection/generic-drop-glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33
// compile-flags:-Zinline-in-all-cgus
44

src/test/codegen-units/item-collection/instantiation-through-vtable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager -Zinline-in-all-cgus -Zmir-opt-level=0
33

44
#![deny(dead_code)]

src/test/codegen-units/item-collection/non-generic-closures.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// ignoring this test until MIR codegen has taken over completely
44
// ignore-test
55

6-
// ignore-tidy-linelength
6+
//
77
// compile-flags:-Zprint-mono-items=eager
88

99
#![deny(dead_code)]

src/test/codegen-units/item-collection/non-generic-drop-glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33
// compile-flags:-Zinline-in-all-cgus
44

src/test/codegen-units/item-collection/trait-method-as-argument.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33

44
#![deny(dead_code)]

src/test/codegen-units/item-collection/transitive-drop-glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33
// compile-flags:-Zinline-in-all-cgus
44

src/test/codegen-units/item-collection/tuple-drop-glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags:-Zprint-mono-items=eager
33
// compile-flags:-Zinline-in-all-cgus
44

src/test/codegen-units/partitioning/extern-drop-glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22

33
// We specify -C incremental here because we want to test the partitioning for
44
// incremental compilation

src/test/codegen-units/partitioning/extern-generic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// We specify -C incremental here because we want to test the partitioning for
33
// incremental compilation
44
// compile-flags:-Zprint-mono-items=eager -Cincremental=tmp/partitioning-tests/extern-generic -Zshare-generics=y

src/test/codegen-units/partitioning/inlining-from-extern-crate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// We specify -C incremental here because we want to test the partitioning for
33
// incremental compilation
44
// compile-flags:-Zprint-mono-items=lazy -Cincremental=tmp/partitioning-tests/inlining-from-extern-crate

src/test/codegen-units/partitioning/local-drop-glue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// We specify -C incremental here because we want to test the partitioning for
33
// incremental compilation
44
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing

src/test/codegen-units/partitioning/local-inlining-but-not-all.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// We specify -C incremental here because we want to test the partitioning for
33
// incremental compilation
44
// compile-flags:-Zprint-mono-items=lazy -Cincremental=tmp/partitioning-tests/local-inlining-but-not-all

src/test/codegen-units/partitioning/local-inlining.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// We specify -C incremental here because we want to test the partitioning for
33
// incremental compilation
44
// compile-flags:-Zprint-mono-items=lazy -Cincremental=tmp/partitioning-tests/local-inlining

src/test/codegen-units/partitioning/local-transitive-inlining.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// We specify -C incremental here because we want to test the partitioning for
33
// incremental compilation
44
// compile-flags:-Zprint-mono-items=lazy -Cincremental=tmp/partitioning-tests/local-transitive-inlining

src/test/codegen-units/partitioning/methods-are-with-self-type.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// much sense at the moment.
44
// ignore-test
55

6-
// ignore-tidy-linelength
6+
//
77
// We specify -C incremental here because we want to test the partitioning for
88
// incremental compilation
99
// compile-flags:-Zprint-mono-items=lazy -Cincremental=tmp/partitioning-tests/methods-are-with-self-type

src/test/codegen-units/partitioning/shared-generics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// no-prefer-dynamic
33
// NOTE: We always compile this test with -Copt-level=0 because higher opt-levels
44
// prevent drop-glue from participating in share-generics.

src/test/codegen-units/partitioning/vtable-through-const.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22

33
// We specify -C incremental here because we want to test the partitioning for
44
// incremental compilation

src/test/codegen/align-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/align-struct.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/async-fn-debug-msvc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// - The generator types and variants are marked artificial
44
// - Captured vars from the source are not marked artificial
55
//
6-
// ignore-tidy-linelength
6+
//
77
// compile-flags: -C debuginfo=2 --edition=2018
88
// only-msvc
99

src/test/codegen/async-fn-debug.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// - The generator types and variants are marked artificial
44
// - Captured vars from the source are not marked artificial
55
//
6-
// ignore-tidy-linelength
6+
//
77
// compile-flags: -C debuginfo=2 --edition=2018
88
// ignore-msvc
99

src/test/codegen/c-variadic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ignore-wasm32-bare compiled with panic=abort by default
22
// compile-flags: -C no-prepopulate-passes
3-
// ignore-tidy-linelength
3+
//
44

55
#![crate_type = "lib"]
66
#![feature(c_variadic)]

src/test/codegen/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/debug-compile-unit-path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -g --remap-path-prefix={{cwd}}=/cwd/ --remap-path-prefix={{src-base}}=/base/
2-
// ignore-tidy-linelength
2+
//
33
//
44
// Ensure that we remap the compile unit directory and that we set it to the compilers current
55
// working directory and not something else.

src/test/codegen/enum-debug-clike.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This tests that debug info for "c-like" enums is properly emitted.
22
// This is ignored for the fallback mode on MSVC due to problems with PDB.
33

4-
// ignore-tidy-linelength
4+
//
55
// ignore-msvc
66

77
// compile-flags: -g -C no-prepopulate-passes

src/test/codegen/enum-debug-niche-2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This tests that optimized enum debug info accurately reflects the enum layout.
22
// This is ignored for the fallback mode on MSVC due to problems with PDB.
33

4-
// ignore-tidy-linelength
4+
//
55
// ignore-msvc
66

77
// compile-flags: -g -C no-prepopulate-passes

src/test/codegen/function-arguments.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -O -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33
// min-system-llvm-version: 12.0
44

55
#![crate_type = "lib"]

src/test/codegen/gdb_debug_script_load.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// ignore-windows
33
// ignore-macos
44
// ignore-wasm

src/test/codegen/generator-debug-msvc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// - The generator types and variants are marked artificial
44
// - Captured vars from the source are not marked artificial
55
//
6-
// ignore-tidy-linelength
6+
//
77
// compile-flags: -C debuginfo=2
88
// only-msvc
99

src/test/codegen/generator-debug.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// - The generator types and variants are marked artificial
44
// - Captured vars from the source are not marked artificial
55
//
6-
// ignore-tidy-linelength
6+
//
77
// compile-flags: -C debuginfo=2 --edition=2018
88
// ignore-msvc
99

src/test/codegen/inline-debuginfo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![crate_type="rlib"]
22
// compile-flags: -Copt-level=3 -g
3-
// ignore-tidy-linelength
3+
//
44

55
#[no_mangle]
66
#[inline(always)]

src/test/codegen/instrument-mcount.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -Z instrument-mcount
33

44
#![crate_type = "lib"]

src/test/codegen/issue-44056-macos-tls-align.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// only-macos
33
// no-system-llvm
44
// compile-flags: -O

src/test/codegen/packed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -O -C no-prepopulate-passes
33

44
#![crate_type = "lib"]

src/test/codegen/remap_path_prefix/auxiliary/remap_path_prefix_aux.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22

33
// compile-flags: -g --remap-path-prefix={{cwd}}=/the/aux-cwd --remap-path-prefix={{src-base}}/remap_path_prefix/auxiliary=/the/aux-src
44

src/test/codegen/remap_path_prefix/auxiliary/xcrate-generic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -g --remap-path-prefix={{cwd}}=/the/aux-cwd --remap-path-prefix={{src-base}}/remap_path_prefix/auxiliary=/the/aux-src
33

44
#![crate_type = "lib"]

src/test/codegen/remap_path_prefix/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ignore-windows
2-
// ignore-tidy-linelength
2+
//
33

44
// compile-flags: -g -C no-prepopulate-passes --remap-path-prefix={{cwd}}=/the/cwd --remap-path-prefix={{src-base}}=/the/src
55
// aux-build:remap_path_prefix_aux.rs

src/test/codegen/repeat-trusted-len.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -O
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/repr-transparent-aggregates-1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
// min-system-llvm-version: 12.0
55
// ignore-arm

src/test/codegen/repr-transparent-aggregates-2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
// min-system-llvm-version: 12.0
55
// ignore-aarch64

src/test/codegen/repr-transparent-aggregates-3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
// min-system-llvm-version: 12.0
55
// only-mips64

src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -C no-prepopulate-passes
33
// only-riscv64
44
// only-linux

src/test/codegen/riscv-abi/riscv64-lp64d-abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -C no-prepopulate-passes
33
// only-riscv64
44
// only-linux

src/test/codegen/riscv-abi/riscv64-lp64f-lp64d-abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -C no-prepopulate-passes
33
// only-riscv64
44
// only-linux

src/test/codegen/simd-intrinsic/simd-intrinsic-generic-arithmetic-saturating.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/simd-intrinsic/simd-intrinsic-generic-bitmask.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/simd-intrinsic/simd-intrinsic-generic-gather.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22

33
// compile-flags: -C no-prepopulate-passes
44

src/test/codegen/simd-intrinsic/simd-intrinsic-generic-scatter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22

33
// compile-flags: -C no-prepopulate-passes
44

src/test/codegen/simd-intrinsic/simd-intrinsic-transmute-array.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ignore-tidy-linelength
1+
//
22
// compile-flags: -C no-prepopulate-passes
33

44
#![crate_type = "lib"]

src/test/codegen/stores.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags: -C no-prepopulate-passes
2-
// ignore-tidy-linelength
2+
//
33

44
#![crate_type = "lib"]
55

src/test/codegen/target-cpu-on-functions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// "target-cpu" attribute in LLVM.
33

44
// no-prefer-dynamic
5-
// ignore-tidy-linelength
5+
//
66
// compile-flags: -C no-prepopulate-passes -C panic=abort -C linker-plugin-lto -Cpasses=name-anon-globals
77

88
#![crate_type = "staticlib"]

src/test/codegen/tune-cpu-on-functions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// "tune-cpu" attribute in LLVM.
33

44
// no-prefer-dynamic
5-
// ignore-tidy-linelength
5+
//
66
// compile-flags: -C no-prepopulate-passes -C panic=abort -C linker-plugin-lto -Cpasses=name-anon-globals -Z tune-cpu=generic
77

88
#![crate_type = "staticlib"]

src/test/debuginfo/borrowed-enum.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-tidy-linelength
2-
31
// Require a gdb or lldb that can read DW_TAG_variant_part.
42
// min-gdb-version: 8.2
53
// rust-lldb

src/test/debuginfo/boxed-struct.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-tidy-linelength
2-
31
// min-lldb-version: 310
42

53
// compile-flags:-g

src/test/debuginfo/by-value-non-immediate-argument.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-tidy-linelength
21
// ignore-test // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155
32
// min-lldb-version: 310
43

src/test/debuginfo/c-style-enum-in-composite.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-tidy-linelength
21
// min-lldb-version: 310
32

43
// compile-flags:-g

src/test/debuginfo/c-style-enum.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-tidy-linelength
2-
31
// ignore-aarch64
42
// ignore-gdb // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155
53
// min-lldb-version: 310

0 commit comments

Comments
 (0)