2018-12-20 12:38:55 -06:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/enum-variant-generic-args.rs:9:25
|
|
|
|
|
|
|
|
|
LL | Self::TSVariant(());
|
|
|
|
| ^^ expected type parameter, found ()
|
|
|
|
|
|
|
|
|
= note: expected type `T`
|
|
|
|
found type `()`
|
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:11:27
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Self::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:13:16
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Self::<()>::TSVariant(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-20 12:38:55 -06:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/enum-variant-generic-args.rs:13:31
|
|
|
|
|
|
|
|
|
LL | Self::<()>::TSVariant(());
|
|
|
|
| ^^ expected type parameter, found ()
|
|
|
|
|
|
|
|
|
= note: expected type `T`
|
|
|
|
found type `()`
|
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:16:16
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Self::<()>::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:16:33
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Self::<()>::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-20 12:38:55 -06:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/enum-variant-generic-args.rs:22:29
|
|
|
|
|
|
|
|
|
LL | Self::SVariant { v: () };
|
|
|
|
| ^^ expected type parameter, found ()
|
|
|
|
|
|
|
|
|
= note: expected type `T`
|
|
|
|
found type `()`
|
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:24:26
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::SVariant::<()> { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
error[E0308]: mismatched types
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:24:35
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::SVariant::<()> { v: () };
|
|
|
|
| ^^ expected type parameter, found ()
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
= note: expected type `T`
|
|
|
|
found type `()`
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:27:16
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::<()>::SVariant { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
error[E0308]: mismatched types
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:27:35
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::<()>::SVariant { v: () };
|
|
|
|
| ^^ expected type parameter, found ()
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
= note: expected type `T`
|
|
|
|
found type `()`
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:30:16
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::<()>::SVariant::<()> { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:30:32
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::<()>::SVariant::<()> { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
error[E0308]: mismatched types
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:30:41
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Self::<()>::SVariant::<()> { v: () };
|
|
|
|
| ^^ expected type parameter, found ()
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
= note: expected type `T`
|
|
|
|
found type `()`
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:40:29
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Enum::<()>::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:43:24
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Alias::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:45:30
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | Alias::<()>::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:48:29
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | AliasFixed::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
error[E0107]: wrong number of type arguments: expected 0, found 1
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:50:18
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | AliasFixed::<()>::TSVariant(());
|
|
|
|
| ^^ unexpected type argument
|
|
|
|
|
|
|
|
error[E0107]: wrong number of type arguments: expected 0, found 1
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:52:18
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | AliasFixed::<()>::TSVariant::<()>(());
|
|
|
|
| ^^ unexpected type argument
|
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:52:35
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
|
LL | AliasFixed::<()>::TSVariant::<()>(());
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:58:28
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Enum::<()>::SVariant::<()> { v: () };
|
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:61:23
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Alias::SVariant::<()> { v: () };
|
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:63:29
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | Alias::<()>::SVariant::<()> { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:66:28
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | AliasFixed::SVariant::<()> { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
|
|
error[E0107]: wrong number of type arguments: expected 0, found 1
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:68:18
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | AliasFixed::<()>::SVariant { v: () };
|
2018-12-15 08:48:52 -06:00
|
|
|
| ^^ unexpected type argument
|
|
|
|
|
|
|
|
error[E0107]: wrong number of type arguments: expected 0, found 1
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:70:18
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | AliasFixed::<()>::SVariant::<()> { v: () };
|
2018-12-15 08:48:52 -06:00
|
|
|
| ^^ unexpected type argument
|
|
|
|
|
2019-03-20 13:32:52 -05:00
|
|
|
error[E0109]: type arguments are not allowed for this type
|
2018-12-20 12:38:55 -06:00
|
|
|
--> $DIR/enum-variant-generic-args.rs:70:34
|
2018-12-15 08:48:52 -06:00
|
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
LL | AliasFixed::<()>::SVariant::<()> { v: () };
|
2018-12-17 18:40:22 -06:00
|
|
|
| ^^ type argument not allowed
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-20 12:38:55 -06:00
|
|
|
error: aborting due to 28 previous errors
|
2018-12-15 08:48:52 -06:00
|
|
|
|
2018-12-18 12:59:00 -06:00
|
|
|
Some errors occurred: E0107, E0109, E0308.
|
2018-12-15 08:48:52 -06:00
|
|
|
For more information about an error, try `rustc --explain E0107`.
|