rust/compiler/rustc_resolve
bors 6bdae9edd0 Auto merge of #78508 - wesleywiser:optimize_visit_scopes, r=petrochenkov
[resolve] Use `unwrap_or_else` instead of `unwrap_or` in a hot path

This improves the performance of the `resolve_crate` function by 30% for
a very large single file crate with auto-generated C bindings.

cc `@rylev`
2020-10-29 18:34:59 +00:00
..
src Auto merge of #78508 - wesleywiser:optimize_visit_scopes, r=petrochenkov 2020-10-29 18:34:59 +00:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00