aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-08-14 18:19:06 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-08-19 15:30:19 +0100
commit3475f10cbf58ff748298be438a4bf8cf98fec4ab (patch)
treeb8d15877eb5f6790d4a382acb66746c10fab2a04 /gcc/rust/backend/rust-compile-resolve-path.cc
parent71cf0d44d3fceb235c95d5acaf92b498f8cf923b (diff)
downloadgcc-3475f10cbf58ff748298be438a4bf8cf98fec4ab.zip
gcc-3475f10cbf58ff748298be438a4bf8cf98fec4ab.tar.gz
gcc-3475f10cbf58ff748298be438a4bf8cf98fec4ab.tar.bz2
Add QualifiedPathInExpression name resolution
Qualified paths such as: <Foo as Bar>::A give the ability to resolve to trait-impls or trait-items directly. It is a type of projection. Remember trait impl blocks have the relevant canonical path so we can resolve with canonical paths and reuse the existing path in expression code.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions