]> git.lizzy.rs Git - rust.git/commit
Auto merge of #51010 - nikomatsakis:issue-50996-renamed-extern-crate, r=acrichto
authorbors <bors@rust-lang.org>
Thu, 24 May 2018 01:25:40 +0000 (01:25 +0000)
committerbors <bors@rust-lang.org>
Thu, 24 May 2018 01:25:40 +0000 (01:25 +0000)
commit242195d290053d1cc3b8895fca4ae66eacc98f3c
treeb35a38b62b254d292dad9deabd21ebad80b6a9f3
parent1977849257436cf74a3bbee94ca2860896853b81
parent2249d653924279be29a155578d7f6ca100f539bf
Auto merge of #51010 - nikomatsakis:issue-50996-renamed-extern-crate, r=acrichto

"crate-ify" paths that begin with a renamed crate

This does two things:

- crate-ify paths that begin with a renamed crate (i.e., add `crate::`) to the front

Fixes https://github.com/rust-lang/rust/issues/50996

I also added tests for a few other scenarios.

r? @alexcrichton