]> git.lizzy.rs Git - rust.git/commit
Auto merge of #23546 - alexcrichton:hyphens, r=brson
authorbors <bors@rust-lang.org>
Tue, 24 Mar 2015 22:44:33 +0000 (22:44 +0000)
committerbors <bors@rust-lang.org>
Tue, 24 Mar 2015 22:44:33 +0000 (22:44 +0000)
commit123a754cb8356d0e78837dd4e58103ad801309ff
treea517d12dbb1458f49e21ae40e026d699576dce92
parented810385045ab0db90303574ba3ea47dfa2a36d5
parenteb2f1d925ffdb79d45c7b74cef549e54533c3951
Auto merge of #23546 - alexcrichton:hyphens, r=brson

The compiler will now issue a warning for crates that have syntax of the form
`extern crate "foo" as bar`, but it will still continue to accept this syntax.
Additionally, the string `foo-bar` will match the crate name `foo_bar` to assist
in the transition period as well.

This patch will land hopefully in tandem with a Cargo patch that will start
translating all crate names to have underscores instead of hyphens.

cc #23533