]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #58065 - alexreg:refactor-smart_resolve_path_fragment, r=petrochenkov
authorbors <bors@rust-lang.org>
Sat, 9 Feb 2019 23:02:15 +0000 (23:02 +0000)
committerbors <bors@rust-lang.org>
Sat, 9 Feb 2019 23:02:15 +0000 (23:02 +0000)
Factor out error reporting from `smart_resolve_path_fragment` fn

This function was ridiculously monolithic before. We now have three rather-less-monolithic-and-horrifying functions.

r? @centril

1  2 
src/librustc_resolve/lib.rs

Simple merge