2018-10-11 19:51:44 +00:00
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-20 05:57:41 +00:00
|
|
|
--> $DIR/in-binder.rs:9:6
|
2018-10-11 19:51:44 +00:00
|
|
|
|
|
|
|
|
LL | impl<'_> IceCube<'_> {}
|
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-20 05:57:41 +00:00
|
|
|
--> $DIR/in-binder.rs:12:15
|
2018-10-11 19:51:44 +00:00
|
|
|
|
|
|
|
|
LL | struct Struct<'_> {
|
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-20 05:57:41 +00:00
|
|
|
--> $DIR/in-binder.rs:17:11
|
2018-10-11 19:51:44 +00:00
|
|
|
|
|
|
|
|
LL | enum Enum<'_> {
|
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-20 05:57:41 +00:00
|
|
|
--> $DIR/in-binder.rs:22:13
|
2018-10-11 19:51:44 +00:00
|
|
|
|
|
|
|
|
LL | union Union<'_> {
|
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-20 05:57:41 +00:00
|
|
|
--> $DIR/in-binder.rs:27:13
|
2018-10-11 19:51:44 +00:00
|
|
|
|
|
|
|
|
LL | trait Trait<'_> {
|
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-20 05:57:41 +00:00
|
|
|
--> $DIR/in-binder.rs:31:8
|
2018-10-11 19:51:44 +00:00
|
|
|
|
|
|
|
|
LL | fn foo<'_>() {
|
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|
2020-02-07 17:44:31 +00:00
|
|
|
For more information about this error, try `rustc --explain E0637`.
|