mirror of https://github.com/rust-lang/rust
21 lines
492 B
Plaintext
21 lines
492 B
Plaintext
error: field expressions cannot have generic arguments
|
|
--> $DIR/type-parameters-in-field-exprs.rs:11:10
|
|
|
|
|
LL | f.x::<isize>;
|
|
| ^^^^^^^
|
|
|
|
error: field expressions cannot have generic arguments
|
|
--> $DIR/type-parameters-in-field-exprs.rs:13:10
|
|
|
|
|
LL | f.x::<>;
|
|
| ^^
|
|
|
|
error: field expressions cannot have generic arguments
|
|
--> $DIR/type-parameters-in-field-exprs.rs:15:7
|
|
|
|
|
LL | f.x::();
|
|
| ^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|