Skip to content

Commit

Permalink
[fixup] bless all the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Nov 26, 2023
1 parent b8b69d6 commit b1f9900
Show file tree
Hide file tree
Showing 228 changed files with 5,639 additions and 35 deletions.
16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.aarch64.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.arm.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.bpf.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.i686.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.loongarch64.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.m68k.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.mips.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.mips64.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.powerpc64.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.riscv.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.s390x.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.sparc.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.sparc64.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.wasi.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.wasm.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.x86-64-win.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/abi/compatibility.x86-64.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/compatibility.rs:148:27
|
LL | pub struct NonZeroI32(i32);
| ---------- ^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct NonZeroI32(());
| ~~

warning: 1 warning emitted

55 changes: 55 additions & 0 deletions tests/ui/associated-type-bounds/enum-bounds.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
warning: field `0` is never read
--> $DIR/enum-bounds.rs:46:8
|
LL | V1(&'static T::As1),
| -- ^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | V1(()),
| ~~

warning: field `0` is never read
--> $DIR/enum-bounds.rs:50:8
|
LL | V0(&'x1 <T::As1 as Tr4<'x1>>::As4),
| -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | V0(()),
| ~~

warning: field `0` is never read
--> $DIR/enum-bounds.rs:51:8
|
LL | V1(&'x2 <T::As1 as Tr4<'x2>>::As4),
| -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | V1(()),
| ~~

warning: field `0` is never read
--> $DIR/enum-bounds.rs:65:8
|
LL | V2(&'static T::As1),
| -- ^^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | V2(()),
| ~~

warning: 4 warnings emitted

16 changes: 16 additions & 0 deletions tests/ui/associated-type-bounds/issue-79949.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/issue-79949.rs:9:10
|
LL | struct S(String);
| - ^^^^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | struct S(());
| ~~

warning: 1 warning emitted

16 changes: 16 additions & 0 deletions tests/ui/associated-types/issue-64855-2.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
warning: field `0` is never read
--> $DIR/issue-64855-2.rs:3:20
|
LL | pub struct Bar<'a>(&'a Self) where Self: ;
| --- ^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct Bar<'a>(()) where Self: ;
| ~~

warning: 1 warning emitted

14 changes: 14 additions & 0 deletions tests/ui/associated-types/issue-71113.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
warning: field `0` is never read
--> $DIR/issue-71113.rs:14:53
|
LL | pub struct MyCow<'a, T: ToOwned<Owned=Box<T>> + 'a>(Wrapper<Cow<'a, T>>);
| ----- field in this struct ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_tuple_struct_fields)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
LL | pub struct MyCow<'a, T: ToOwned<Owned=Box<T>> + 'a>(());
| ~~

warning: 1 warning emitted

Loading

0 comments on commit b1f9900

Please sign in to comment.