diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-09-05 00:13:25 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-09-05 00:13:25 +0100 |
commit | 9c56ecf32c0daeb87ff61e33076a3b1c8c3fcb49 (patch) | |
tree | ad2c7db6d69ba7a5a90355505ced574908348d2a /gcc/rust/resolve/rust-ast-resolve.cc | |
parent | 3438ea39e33880e582e8a11b558bfacb6fb280b0 (diff) | |
download | gcc-9c56ecf32c0daeb87ff61e33076a3b1c8c3fcb49.zip gcc-9c56ecf32c0daeb87ff61e33076a3b1c8c3fcb49.tar.gz gcc-9c56ecf32c0daeb87ff61e33076a3b1c8c3fcb49.tar.bz2 |
Add helpers to as clause of QualifiedPaths to get the generic args
When we resolve a TypePath we expect this to resolve to a TyTy and to
substitute arguments accordingly. Qualified paths contain a trait reference
which can contain generic arguments, the problem here is that traits are
not a TyTy type since traits define behaviour not types. In order to
actually apply the substitutions in a future commit we must be able
to access these arguments in a sensible way first.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve.cc')
0 files changed, 0 insertions, 0 deletions