Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use {get,match}_def_path from rustc #3926

Merged
merged 2 commits into from
Apr 17, 2019
Merged

Conversation

flip1995
Copy link
Member

@flip1995 flip1995 commented Apr 7, 2019

This is a follow up of the uplift of {get,match}_def_path to rustc.

This is blocked on rust-lang/rust#59779

@flip1995 flip1995 added S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Apr 7, 2019
Centril added a commit to Centril/rust that referenced this pull request Apr 8, 2019
…ishearth

Uplift `get_def_path` from Clippy

cc rust-lang/rust-clippy#3926
cc rust-lang#59738

This uplifts `get_def_path` from Clippy. This is a follow up on the
implementation of internal lints: rust-lang#59316

The internal lint implementation also copied the implementation of the
`AbsolutePathPrinter`. To get rid of this code duplication this also
uplifts the `get_def_path` function from Clippy.

This also renames `match_path` to `match_def_path`, as it was originally
named in Clippy.

r? @Manishearth
sanxiyn added a commit to sanxiyn/rust that referenced this pull request Apr 11, 2019
…ishearth

Uplift `get_def_path` from Clippy

cc rust-lang/rust-clippy#3926
cc rust-lang#59738

This uplifts `get_def_path` from Clippy. This is a follow up on the
implementation of internal lints: rust-lang#59316

The internal lint implementation also copied the implementation of the
`AbsolutePathPrinter`. To get rid of this code duplication this also
uplifts the `get_def_path` function from Clippy.

This also renames `match_path` to `match_def_path`, as it was originally
named in Clippy.

r? @Manishearth
flip1995 added a commit to flip1995/rust-clippy that referenced this pull request Apr 12, 2019
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
flip1995 added a commit to flip1995/rust-clippy that referenced this pull request Apr 12, 2019
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
flip1995 added a commit to flip1995/rust-clippy that referenced this pull request Apr 12, 2019
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
flip1995 added a commit to flip1995/rust-clippy that referenced this pull request Apr 12, 2019
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
@flip1995 flip1995 mentioned this pull request Apr 12, 2019
bors added a commit that referenced this pull request Apr 12, 2019
@bors
Copy link
Contributor

bors commented Apr 12, 2019

☔ The latest upstream changes (presumably #3945) made this pull request unmergeable. Please resolve the merge conflicts.

Centril added a commit to Centril/rust that referenced this pull request Apr 15, 2019
…ishearth

Uplift `get_def_path` from Clippy

cc rust-lang/rust-clippy#3926
cc rust-lang#59738

This uplifts `get_def_path` from Clippy. This is a follow up on the
implementation of internal lints: rust-lang#59316

The internal lint implementation also copied the implementation of the
`AbsolutePathPrinter`. To get rid of this code duplication this also
uplifts the `get_def_path` function from Clippy.

This also renames `match_path` to `match_def_path`, as it was originally
named in Clippy.

r? @Manishearth
@flip1995 flip1995 closed this Apr 16, 2019
@flip1995 flip1995 reopened this Apr 16, 2019
@flip1995 flip1995 removed the S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work label Apr 16, 2019
@bors
Copy link
Contributor

bors commented Apr 17, 2019

☔ The latest upstream changes (presumably #3966) made this pull request unmergeable. Please resolve the merge conflicts.

@phansch
Copy link
Member

phansch commented Apr 17, 2019

Nice! r=me when rebased and build is green

@flip1995
Copy link
Member Author

@bors r=phansch

@bors
Copy link
Contributor

bors commented Apr 17, 2019

📌 Commit 840eac2 has been approved by phansch

bors added a commit that referenced this pull request Apr 17, 2019
Use {get,match}_def_path from rustc

This is a follow up of the uplift of `{get,match}_def_path` to rustc.

~~This is blocked on rust-lang/rust#59779~~
@bors
Copy link
Contributor

bors commented Apr 17, 2019

⌛ Testing commit 840eac2 with merge 3e760cc...

@bors
Copy link
Contributor

bors commented Apr 17, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: phansch
Pushing 3e760cc to master...

@bors bors merged commit 840eac2 into rust-lang:master Apr 17, 2019
@flip1995 flip1995 deleted the def_path_uplift branch April 17, 2019 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants