-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8b69d6
commit b1f9900
Showing
228 changed files
with
5,639 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Oops, something went wrong.