diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-10-05 19:43:44 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-10-12 13:10:11 -0700 |
| commit | 2e56b6f98e34edcafe0d7691939c4c33302a1a5c (patch) | |
| tree | 67c20415c735173c844fbad78ef99fbdb3c133a3 /compiler/rustc_codegen_cranelift/example/alloc_example.rs | |
| parent | ad49cb6e0c7346bd9ee551f7940a267e1712a439 (diff) | |
| download | rust-2e56b6f98e34edcafe0d7691939c4c33302a1a5c.tar.gz rust-2e56b6f98e34edcafe0d7691939c4c33302a1a5c.zip | |
Include rmeta candidates in "multiple matching crates" error
Only dylib and rlib candidates were included in the error. I think the reason is that at the time this error was originally implemented, rmeta crate sources were represented different from dylib and rlib sources. I wrote up more detailed analysis in [this comment][1]. The new version of the code is also a bit easier to read and should be more robust to future changes since it uses `CrateSources::paths()`. [1]: https://github.com/rust-lang/rust/pull/88675#issuecomment-935282436
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
