diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-02-08 11:12:32 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-02-08 15:19:29 +0000 |
commit | 257bf55827474e500d83d96b7a8f8ebacbd11e7d (patch) | |
tree | badfdb2aaa7d640f8a5f43ad86d61e8fa6d878e1 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 5619eea6f62bffe58eaaeb508f45a855fc3ce1f4 (diff) | |
download | gcc-257bf55827474e500d83d96b7a8f8ebacbd11e7d.zip gcc-257bf55827474e500d83d96b7a8f8ebacbd11e7d.tar.gz gcc-257bf55827474e500d83d96b7a8f8ebacbd11e7d.tar.bz2 |
Handle generic substitution on path expressions
In this bug the path expression failed to take Foo::<i32> and apply this
bound generic argument into the impl block. The fn type for this function
test is:
fn <T,Y>test(a:T, b:Y);
But the impl block has a Self of Foo<T> so we need to inherit the T
argument from the previous Foo::<i32> which was missing.
Fixes #893
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions