rust/tests/ui/union/unnamed-fields/field_uniqueness_check.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

1735 lines
46 KiB
Plaintext
Raw Normal View History

2024-01-04 07:56:45 -06:00
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:27:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:30:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:31:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:36:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:40:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:40:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:41:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:41:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:44:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:44:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:45:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:45:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:58:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:61:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:66:17
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:70:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:70:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:71:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:71:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:74:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:74:13
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:75:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:75:13
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:80:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:83:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:88:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:92:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:92:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:93:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:93:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:96:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:96:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:97:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:97:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:111:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:114:17
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:119:21
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:123:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:123:13
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:124:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:124:13
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:127:17
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:127:17
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:128:17
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:128:17
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:133:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:136:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:141:17
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:145:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:145:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:146:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:146:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:149:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:149:13
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:150:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:150:13
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:154:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:157:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error[E0124]: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:162:13
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | a: u8,
| ^^^^^ field already declared
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:166:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:166:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:167:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:167:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:170:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:170:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:171:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ----- `a` first declared here
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:171:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:183:5
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:186:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:191:13
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:195:5
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:195:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:196:5
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:196:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:199:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:199:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:200:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:200:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:180:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:212:5
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:215:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:220:13
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:224:5
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:224:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:225:5
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:225:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:228:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:228:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:229:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:229:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:209:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:242:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:245:13
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:250:17
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:254:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:254:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:255:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:255:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:258:13
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:258:13
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:259:13
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:259:13
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:264:5
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:267:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:272:13
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:276:5
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:276:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:277:5
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:277:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:280:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:280:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:281:9
2024-01-04 07:56:45 -06:00
|
LL | _: Foo,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:281:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:239:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:294:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:297:13
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:302:17
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:306:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:306:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:307:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:307:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:310:13
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:310:13
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:311:13
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:311:13
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:316:5
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:319:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:324:13
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | a: u8,
| ^^^^^ field already declared
|
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:328:5
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:328:5
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:329:5
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:329:5
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:332:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Foo,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:7:5
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:332:9
|
LL | _: Foo,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: field `a` is already declared
--> $DIR/field_uniqueness_check.rs:333:9
2024-01-04 07:56:45 -06:00
|
LL | _: Bar,
| ------ `a` first declared here in this unnamed field
...
LL | _: Bar,
| ^^^^^^ field `a` declared in this unnamed field
|
note: field `a` declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:333:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
note: field `a` first declared here
--> $DIR/field_uniqueness_check.rs:14:9
2024-01-04 07:56:45 -06:00
|
LL | a: u8,
| ^^^^^
help: fields from the type of this unnamed field are considered fields of the outer type
--> $DIR/field_uniqueness_check.rs:291:9
|
LL | _: Bar,
| ^^^^^^
2024-01-04 07:56:45 -06:00
error: aborting due to 85 previous errors
For more information about this error, try `rustc --explain E0124`.