]> git.lizzy.rs Git - rust.git/commit
Auto merge of #95255 - petrochenkov:suggresolve, r=michaelwoerister
authorbors <bors@rust-lang.org>
Fri, 25 Mar 2022 11:35:19 +0000 (11:35 +0000)
committerbors <bors@rust-lang.org>
Fri, 25 Mar 2022 11:35:19 +0000 (11:35 +0000)
commit903427b2e807cb1292388940b3f44f3b061cfebf
tree61110571592368f1de2628ecb54b53de9a19c28c
parente70e211e99b3b7a4c3d75ff56598662530828f65
parent1ad64a23d4dc99df9cea4b1394d05538f0ccc86a
Auto merge of #95255 - petrochenkov:suggresolve, r=michaelwoerister

resolve: Do not build expensive suggestions if they are not actually used

And remove a bunch of (conditionally) unused parameters from path resolution functions.

This helps with performance issues in https://github.com/rust-lang/rust/pull/94857, and should be helpful in general even without that.