Merging error code descriptions into E0107 and adding "no longer

emitted" messages to the others.
This commit is contained in:
Matthew Russo 2018-08-20 21:34:55 -04:00
parent 1558ae7cfd
commit aa2abeaf34
7 changed files with 29 additions and 73 deletions

View file

@ -1,15 +0,0 @@
error[E0087]: wrong number of type arguments: expected 0, found 1
--> $DIR/E0087.rs:15:11
|
LL | foo::<f64>(); //~ ERROR wrong number of type arguments: expected 0, found 1 [E0087]
| ^^^ unexpected type argument
error[E0087]: wrong number of type arguments: expected 1, found 2
--> $DIR/E0087.rs:17:16
|
LL | bar::<f64, u64>(); //~ ERROR wrong number of type arguments: expected 1, found 2 [E0087]
| ^^^ unexpected type argument
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0087`.

View file

@ -1,15 +0,0 @@
error[E0088]: wrong number of lifetime arguments: expected 0, found 1
--> $DIR/E0088.rs:15:9
|
LL | f::<'static>(); //~ ERROR E0088
| ^^^^^^^ unexpected lifetime argument
error[E0088]: wrong number of lifetime arguments: expected 1, found 2
--> $DIR/E0088.rs:16:18
|
LL | g::<'static, 'static>(); //~ ERROR E0088
| ^^^^^^^ unexpected lifetime argument
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0088`.

View file

@ -1,9 +0,0 @@
error[E0089]: wrong number of type arguments: expected 2, found 1
--> $DIR/E0089.rs:14:5
|
LL | foo::<f64>(); //~ ERROR wrong number of type arguments: expected 2, found 1 [E0089]
| ^^^^^^^^^^ expected 2 type arguments
error: aborting due to previous error
For more information about this error, try `rustc --explain E0089`.

View file

@ -1,9 +0,0 @@
error[E0090]: wrong number of lifetime arguments: expected 2, found 1
--> $DIR/E0090.rs:14:5
|
LL | foo::<'static>(); //~ ERROR wrong number of lifetime arguments: expected 2, found 1 [E0090]
| ^^^^^^^^^^^^^^ expected 2 lifetime arguments
error: aborting due to previous error
For more information about this error, try `rustc --explain E0090`.

View file

@ -1,9 +0,0 @@
error[E0243]: wrong number of type arguments: expected 1, found 0
--> $DIR/E0243.rs:12:17
|
LL | struct Bar { x: Foo }
| ^^^ expected 1 type argument
error: aborting due to previous error
For more information about this error, try `rustc --explain E0243`.

View file

@ -1,9 +0,0 @@
error[E0244]: wrong number of type arguments: expected 0, found 2
--> $DIR/E0244.rs:12:23
|
LL | struct Bar<S, T> { x: Foo<S, T> }
| ^^^^^^^^^ 2 unexpected type arguments
error: aborting due to previous error
For more information about this error, try `rustc --explain E0244`.