rust/compiler
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
..
2020-10-27 18:14:21 +01:00
2020-10-20 16:42:51 +02:00
2020-10-27 11:04:04 -04:00
2020-10-16 12:58:50 -04:00