-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthew Russo
committed
Aug 24, 2018
1 parent
34e7637
commit 79afc6e
Showing
39 changed files
with
96 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
error[E0090]: wrong number of lifetime arguments: expected 2, found 1 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 1 | ||
--> $DIR/constructor-lifetime-args.rs:27:5 | ||
| | ||
LL | S::<'static>(&0, &0); | ||
| ^^^^^^^^^^^^ expected 2 lifetime arguments | ||
|
||
error[E0088]: wrong number of lifetime arguments: expected 2, found 3 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 3 | ||
--> $DIR/constructor-lifetime-args.rs:29:27 | ||
| | ||
LL | S::<'static, 'static, 'static>(&0, &0); | ||
| ^^^^^^^ unexpected lifetime argument | ||
|
||
error[E0090]: wrong number of lifetime arguments: expected 2, found 1 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 1 | ||
--> $DIR/constructor-lifetime-args.rs:32:5 | ||
| | ||
LL | E::V::<'static>(&0); | ||
| ^^^^^^^^^^^^^^^ expected 2 lifetime arguments | ||
|
||
error[E0088]: wrong number of lifetime arguments: expected 2, found 3 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 3 | ||
--> $DIR/constructor-lifetime-args.rs:34:30 | ||
| | ||
LL | E::V::<'static, 'static, 'static>(&0); | ||
| ^^^^^^^ unexpected lifetime argument | ||
|
||
error: aborting due to 4 previous errors | ||
|
||
Some errors occurred: E0088, E0090. | ||
For more information about an error, try `rustc --explain E0088`. | ||
For more information about this error, try `rustc --explain E0107`. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/test/ui/generic/generic-impl-less-params-with-defaults.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0243]: wrong number of type arguments: expected at least 2, found 1 | ||
error[E0107]: wrong number of type arguments: expected at least 2, found 1 | ||
--> $DIR/generic-impl-less-params-with-defaults.rs:21:5 | ||
| | ||
LL | Foo::<isize>::new(); | ||
| ^^^^^^^^^^^^^^^^^ expected at least 2 type arguments | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0243`. | ||
For more information about this error, try `rustc --explain E0107`. |
4 changes: 2 additions & 2 deletions
4
src/test/ui/generic/generic-impl-more-params-with-defaults.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0244]: wrong number of type arguments: expected at most 2, found 3 | ||
error[E0107]: wrong number of type arguments: expected at most 2, found 3 | ||
--> $DIR/generic-impl-more-params-with-defaults.rs:23:5 | ||
| | ||
LL | Vec::<isize, Heap, bool>::new(); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected at most 2 type argument | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0244`. | ||
For more information about this error, try `rustc --explain E0107`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/test/ui/generic/generic-type-less-params-with-defaults.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0243]: wrong number of type arguments: expected at least 1, found 0 | ||
error[E0107]: wrong number of type arguments: expected at least 1, found 0 | ||
--> $DIR/generic-type-less-params-with-defaults.rs:19:12 | ||
| | ||
LL | let _: Vec; | ||
| ^^^ expected at least 1 type argument | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0243`. | ||
For more information about this error, try `rustc --explain E0107`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/test/ui/generic/generic-type-more-params-with-defaults.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0244]: wrong number of type arguments: expected at most 2, found 3 | ||
error[E0107]: wrong number of type arguments: expected at most 2, found 3 | ||
--> $DIR/generic-type-more-params-with-defaults.rs:19:12 | ||
| | ||
LL | let _: Vec<isize, Heap, bool>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^ expected at most 2 type argument | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0244`. | ||
For more information about this error, try `rustc --explain E0107`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0243]: wrong number of type arguments: expected 1, found 0 | ||
error[E0107]: wrong number of type arguments: expected 1, found 0 | ||
--> $DIR/issue-14092.rs:11:11 | ||
| | ||
LL | fn fn1(0: Box) {} | ||
| ^^^ expected 1 type argument | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0243`. | ||
For more information about this error, try `rustc --explain E0107`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.