Skip to content

multiple different errors for the same problem #1882

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

Closed
db48x opened this issue Feb 22, 2012 · 4 comments
Closed

multiple different errors for the same problem #1882

db48x opened this issue Feb 22, 2012 · 4 comments
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)

Comments

@db48x
Copy link
Contributor

db48x commented Feb 22, 2012

src/comp/syntax/ext/qquote.rs:200:4: 200:16 error: this function takes 2 parameters but 1 parameter was supplied
src/comp/syntax/ext/qquote.rs:200 iter::each() {|ch|
^~~~~~~~~~~~
src/comp/syntax/ext/qquote.rs:200:4: 200:14 error: could not determine a type for a bounded type parameter
src/comp/syntax/ext/qquote.rs:200 iter::each() {|ch|
^~~~~~~~~~

Looks to me like the second error is useless.

@catamorphism
Copy link
Contributor

Also see #1871

@db48x
Copy link
Contributor Author

db48x commented Feb 22, 2012

Yea. Of course, the spans aren't exactly the same.

@ghost ghost assigned catamorphism Jul 29, 2012
@catamorphism
Copy link
Contributor

Fix for #1871 should fix this, but I'll make sure it does.

@catamorphism
Copy link
Contributor

I don't know what code brought up this error, but the fix I'm working on for #1871 should address it. Reopen if you have a specific example that provokes multiple errors. Thanks!

celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Add new internal template and fix labels.

Co-authored-by: Zyad Hassan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

2 participants