]> git.lizzy.rs Git - rust.git/commitdiff
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)
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


Trivial merge