diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-01-31 15:26:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 15:26:53 +0000 |
commit | 6e5f8f76cbe47880ceae1bcf0bf7f07f601517ec (patch) | |
tree | 5fda817832faec93924e017371321bb110ffdb48 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 631f7ae7b9dbb55ed3adce942952f93b48983a53 (diff) | |
parent | 4c36c7c8d31e92d780f925b3bb62eec7db052442 (diff) | |
download | gcc-6e5f8f76cbe47880ceae1bcf0bf7f07f601517ec.zip gcc-6e5f8f76cbe47880ceae1bcf0bf7f07f601517ec.tar.gz gcc-6e5f8f76cbe47880ceae1bcf0bf7f07f601517ec.tar.bz2 |
Merge #900
900: Fixup logic in canonical-path for impl-blocks r=philberty a=philberty
Impl blocks canonical prefix when the size is one will only contain the
respective crate name but impl blocks canonical path will be of the Self
type which has its own respective crate and path so this will become the
canonical path of this. If the segment size greater than one this means it
is likely inside a mod block or other item so this means we should just
append as usual.
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions