about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-15 18:23:43 +0200
committerGitHub <noreply@github.com>2019-04-15 18:23:43 +0200
commitcf1697f7266885ea704fda09c6d244ee74f459f9 (patch)
tree0f99d1e1a9fc86f7168beae72a6285d0333a4355 /src/rustllvm/RustWrapper.cpp
parentb13291f6a73b8b439dfbf215cf9a84053efedd4a (diff)
parent136d66f0113b4fb53d517d6653fee0487b56202d (diff)
downloadrust-cf1697f7266885ea704fda09c6d244ee74f459f9.tar.gz
rust-cf1697f7266885ea704fda09c6d244ee74f459f9.zip
Rollup merge of #59779 - flip1995:uplift_get_def_path, r=Manishearth
Uplift `get_def_path` from Clippy

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

This uplifts `get_def_path` from Clippy. This is a follow up on the
implementation of internal lints: #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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions