Skip to content

librustc: Obsolete the old external crate renaming syntax.#17048

Merged
bors merged 1 commit intorust-lang:masterfrom
pcwalton:remove-old-import-renaming-syntax
Sep 10, 2014
Merged

librustc: Obsolete the old external crate renaming syntax.#17048
bors merged 1 commit intorust-lang:masterfrom
pcwalton:remove-old-import-renaming-syntax

Conversation

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Sep 6, 2014

Instead of extern crate foo = bar, write extern crate bar as foo.
Instead of extern crate baz = "quux", write extern crate "quux" as baz.

Closes #16461.

[breaking-change]

r? @brson

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the RHS here (and LHS) should be strings.

@pcwalton pcwalton force-pushed the remove-old-import-renaming-syntax branch 2 times, most recently from 7c5cd77 to ec1ce6a Compare September 10, 2014 02:23
Instead of `extern crate foo = bar`, write `extern crate bar as foo`.
Instead of `extern crate baz = "quux"`, write `extern crate "quux" as
baz`.

Closes rust-lang#16461.

[breaking-change]
@pcwalton pcwalton force-pushed the remove-old-import-renaming-syntax branch from ec1ce6a to 1bce869 Compare September 10, 2014 02:24
bors added a commit that referenced this pull request Sep 10, 2014
…x, r=brson

Instead of `extern crate foo = bar`, write `extern crate bar as foo`.
Instead of `extern crate baz = "quux"`, write `extern crate "quux" as
baz`.

Closes #16461.

[breaking-change]

r? @brson
@bors bors closed this Sep 10, 2014
@bors bors merged commit 1bce869 into rust-lang:master Sep 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace use id = path; with use path as id;

3 participants