about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-20 20:03:21 +0200
committerGitHub <noreply@github.com>2025-06-20 20:03:21 +0200
commit6c58f693ccb190c9adf6e3f367b885a819b2efb6 (patch)
tree9662213be868276a5c98260bc7895a84bca47eca /compiler/rustc_interface/src/errors.rs
parent065a5fb2251ace017e8db37c8a8792e4d6ca3cdb (diff)
parentaca0688a1dd16e0bc41ac41c5b861384c418427e (diff)
downloadrust-6c58f693ccb190c9adf6e3f367b885a819b2efb6.tar.gz
rust-6c58f693ccb190c9adf6e3f367b885a819b2efb6.zip
Rollup merge of #142720 - yotamofek:pr/rustdoc/ext-crate-cleanup, r=GuillaumeGomez
De-dup common code from `ExternalCrate` methods

Also, return an `impl Iterator` instead of collecting into a `Vec`. Not sure if that'll have a measurable perf impact, but I think this PR still cleans up the two methods it touches quite nicely.

(I'm having trouble finding a name for the common method I extracted, currently called `foobar`, would love suggestions!)
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions