Since a crate name can match more than one crate, I was wondering if we should return a vector instead of an `Option<Crate>`. See an example on rustc test `tests/codegen/nounwind.rs`.
Activity
Rollup merge of rust-lang#116543 - ouz-a:crate_return_vec, r=oli-obk
Rollup merge of rust-lang#116543 - ouz-a:crate_return_vec, r=oli-obk
Unrolled build for rust-lang#116543
Squashed commit of the following:
spastorino commentedon Oct 11, 2023
I think this can be closed after rust-lang/rust#116543 from @ouz-a, right?.
ouz-a commentedon Oct 11, 2023
Yeah