review comments

This commit is contained in:
Esteban Küber 2019-09-04 23:41:51 -07:00
parent c9d05aa9ce
commit b21408527a
5 changed files with 34 additions and 32 deletions

View file

@ -1,14 +1,14 @@
error: field expressions may not have generic arguments
--> $DIR/type-parameters-in-field-exprs.rs:13:7
--> $DIR/type-parameters-in-field-exprs.rs:13:10
|
LL | f.x::<isize>;
| ^^^^^^^^^^
| ^^^^^^^
error: field expressions may not have generic arguments
--> $DIR/type-parameters-in-field-exprs.rs:15:7
--> $DIR/type-parameters-in-field-exprs.rs:15:10
|
LL | f.x::<>;
| ^^^^^
| ^^
error: field expressions may not have generic arguments
--> $DIR/type-parameters-in-field-exprs.rs:17:7

View file

@ -1,14 +1,14 @@
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:10:5
--> $DIR/macro-ty-params.rs:10:10
|
LL | foo::<T>!();
| ^^^^^^^^
| ^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:11:5
--> $DIR/macro-ty-params.rs:11:10
|
LL | foo::<>!();
| ^^^^^^^
| ^^
error: unexpected generic arguments in path
--> $DIR/macro-ty-params.rs:12:8
@ -17,10 +17,10 @@ LL | m!(Default<>);
| ^^^^^^^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:12:8
--> $DIR/macro-ty-params.rs:12:15
|
LL | m!(Default<>);
| ^^^^^^^^^
| ^^
error: aborting due to 4 previous errors