-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
…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
…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
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
bebc8b8
to
bb16096
Compare
This fix is obsolet once rust-lang/rust#59779 and rust-lang#3926 is merged.
Rustup cc rust-lang/rust#59227 (comment) This fix is obsolet once rust-lang/rust#59779 and #3926 is merged.
☔ The latest upstream changes (presumably #3945) made this pull request unmergeable. Please resolve the merge conflicts. |
bb16096
to
730c7c5
Compare
…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
☔ The latest upstream changes (presumably #3966) made this pull request unmergeable. Please resolve the merge conflicts. |
Nice! r=me when rebased and build is green |
730c7c5
to
840eac2
Compare
@bors r=phansch |
📌 Commit 840eac2 has been approved by |
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~~
☀️ Test successful - checks-travis, status-appveyor |
This is a follow up of the uplift of
{get,match}_def_path
to rustc.This is blocked on rust-lang/rust#59779