Uh oh!
There was an error while loading. Please reload this page.
Forbid conflicts between macros 1.0 exports and macros 2.0 exports - #40509
Merged
Conversation
jseyfried
commented
Mar 14, 2017
ContributorAuthor
jseyfriedforce-pushed
the
duplicate_check_macro_exports
branch
from
March 16, 2017 01:31
27d2deb to
8c16c45Comparejseyfried
commented
Mar 16, 2017
ContributorAuthor
@bors r=nrc |
bors
commented
Mar 16, 2017
Collaborator
📌 Commit 8c16c45 has been approved by |
arielb1 pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 18, 2017
…orts, r=nrc Forbid conflicts between macros 1.0 exports and macros 2.0 exports This PR forbids for conflicts between `#[macro_export]`/`#[macro_reexport]` macro exports and `pub use` macro exports. For example, ```rust // crate A: pub use macros::foo; //^ This is allowed today, will be forbidden by this PR. // crate B: extern crate A; // This triggers a confusing error today. use A::foo; // This could refer to refer to either macro export in crate A. ``` r? @nrc
arielb1 pushed a commit
to arielb1/rust
that referenced
this pull request
Mar 19, 2017
…orts, r=nrc Forbid conflicts between macros 1.0 exports and macros 2.0 exports This PR forbids for conflicts between `#[macro_export]`/`#[macro_reexport]` macro exports and `pub use` macro exports. For example, ```rust // crate A: pub use macros::foo; //^ This is allowed today, will be forbidden by this PR. // crate B: extern crate A; // This triggers a confusing error today. use A::foo; // This could refer to refer to either macro export in crate A. ``` r? @nrc
frewsxcv added a commit
to frewsxcv/rust
that referenced
this pull request
Mar 20, 2017
…orts, r=nrc Forbid conflicts between macros 1.0 exports and macros 2.0 exports This PR forbids for conflicts between `#[macro_export]`/`#[macro_reexport]` macro exports and `pub use` macro exports. For example, ```rust // crate A: pub use macros::foo; //^ This is allowed today, will be forbidden by this PR. // crate B: extern crate A; // This triggers a confusing error today. use A::foo; // This could refer to refer to either macro export in crate A. ``` r? @nrc
bors
commented
Mar 21, 2017
Collaborator
🔒 Merge conflict |
…[macro_reexport]`) and macros 2.0 exports (`pub use` macro re-exports and `pub macro` (once implemented) at the crate root.
retep998force-pushed
the
duplicate_check_macro_exports
branch
from
March 21, 2017 20:24
8c16c45 to
678e882Comparebstrie
commented
Mar 21, 2017
Contributor
@bors r=nrc |
bors
commented
Mar 21, 2017
Collaborator
📌 Commit 678e882 has been approved by |
frewsxcv added a commit
to frewsxcv/rust
that referenced
this pull request
Mar 22, 2017
…orts, r=nrc Forbid conflicts between macros 1.0 exports and macros 2.0 exports This PR forbids for conflicts between `#[macro_export]`/`#[macro_reexport]` macro exports and `pub use` macro exports. For example, ```rust // crate A: pub use macros::foo; //^ This is allowed today, will be forbidden by this PR. // crate B: extern crate A; // This triggers a confusing error today. use A::foo; // This could refer to refer to either macro export in crate A. ``` r? @nrc
bors
commented
Mar 22, 2017
Collaborator
⌛ Testing commit 678e882 with merge 16b9ffb... |
bors
commented
Mar 22, 2017
Collaborator
💔 Test failed - status-travis |
alexcrichton
commented
Mar 22, 2017
Member
@bors: retry
|
frewsxcv added a commit
to frewsxcv/rust
that referenced
this pull request
Mar 22, 2017
…orts, r=nrc Forbid conflicts between macros 1.0 exports and macros 2.0 exports This PR forbids for conflicts between `#[macro_export]`/`#[macro_reexport]` macro exports and `pub use` macro exports. For example, ```rust // crate A: pub use macros::foo; //^ This is allowed today, will be forbidden by this PR. // crate B: extern crate A; // This triggers a confusing error today. use A::foo; // This could refer to refer to either macro export in crate A. ``` r? @nrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR forbids for conflicts between
#[macro_export]/#[macro_reexport]macro exports andpub usemacro exports. For example,r? @nrc