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

"type parameter A is unused" span in type Foo<A> = u8; should point to A #30236

Closed
huonw opened this issue Dec 6, 2015 · 0 comments
Closed
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@huonw
Copy link
Member

huonw commented Dec 6, 2015

It currently points to the RHS of the type.

type Foo<A> = u8;

fn main() {}
<anon>:1:15: 1:17 error: type parameter `A` is unused [E0091]
<anon>:1 type Foo<A> = u8;
                       ^~
@huonw huonw added the A-diagnostics Area: Messages for errors, warnings, and lints label Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

1 participant