Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add E0088, E0091, E0109 and E0110 and error explanation #26593

Merged
merged 6 commits into from
Jun 29, 2015

Conversation

GuillaumeGomez
Copy link
Member

Part of #24407.
cc @michaelsproul

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@GuillaumeGomez
Copy link
Member Author

r? @Manishearth

@GuillaumeGomez GuillaumeGomez changed the title Add E0091 error explanation Add E0091 and E0088 error explanation Jun 26, 2015
}
```

Please check you give the right number of lifetime parameter. Example:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameters

@GuillaumeGomez GuillaumeGomez changed the title Add E0091 and E0088 error explanation Add E0088, E0091 and E0109 and error explanation Jun 27, 2015
type X = u32<i32>; // error: type parameters are not allowed on this type
```

Please check you actually used the good type or check again its definition.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Please check that you used the correct type and recheck its definition. Perhaps it doesn't need the type parameter."

@GuillaumeGomez
Copy link
Member Author

Updated.

@@ -360,6 +360,40 @@ integer type:
http://doc.rust-lang.org/reference.html#ffi-attributes
"##,

E0109: r##"
You tried to give type parameter to a type which doesn't need it. Erroneous
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"a type parameter"

@GuillaumeGomez GuillaumeGomez changed the title Add E0088, E0091 and E0109 and error explanation Add E0088, E0091, E0109 and E0110 and error explanation Jun 29, 2015
@GuillaumeGomez
Copy link
Member Author

Updated ! Do you see anything else @Manishearth ?

@@ -360,6 +360,40 @@ integer type:
http://doc.rust-lang.org/reference.html#ffi-attributes
"##,

E0109: r##"
You tried to give type parameter to a type which doesn't need it. Erroneous
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "a" has been eaten by the void ! :O

@GuillaumeGomez
Copy link
Member Author

Re-updated.

@Manishearth
Copy link
Member

@bors r+ rollup

1 similar comment
@Manishearth
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 29, 2015

📌 Commit 7f830a8 has been approved by Manishearth

Manishearth added a commit to Manishearth/rust that referenced this pull request Jun 29, 2015
bors added a commit that referenced this pull request Jun 29, 2015
@bors bors merged commit 7f830a8 into rust-lang:master Jun 29, 2015
@GuillaumeGomez GuillaumeGomez deleted the patch-2 branch June 29, 2015 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants