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

Incorrect "multiple matching crates" with duplicate path #7718

Closed
emberian opened this issue Jul 11, 2013 · 5 comments
Closed

Incorrect "multiple matching crates" with duplicate path #7718

emberian opened this issue Jul 11, 2013 · 5 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@emberian
Copy link
Member

For example, if you do rustc -L . -L ., and you have extern mod foo with a foo crate in ., it will report "multiple matching crates for foo", even though it's the same crate.

@emberian
Copy link
Member Author

What it should probably do is remove duplicates from addl_lib_search_paths in the session::options

@Xazax-hun
Copy link
Contributor

Or alternatively make addl_lib_search_paths to be a set?

@emberian
Copy link
Member Author

That'd work, I can't imagine why one would need to index into it.

@metajack
Copy link
Contributor

nominating production ready. this is likely to catch people out who are using makefiles.

@catamorphism
Copy link
Contributor

Accepted production-ready

@bors bors closed this as completed in a239c0e Oct 28, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Nov 4, 2021
…lip1995

Move if_then_panic to pedantic and rename to manual_assert

Closes rust-lang#7718

changelog: none (lint added since last release)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

4 participants