aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-08 17:56:41 +0000
committerGitHub <noreply@github.com>2022-02-08 17:56:41 +0000
commit6d1ff568084ed86e6cf14e709fe6892256be824a (patch)
tree75dee6b1d9b1328ab2f88f8804cf1aa29d99b291 /gcc/rust/backend/rust-compile-resolve-path.cc
parent055ca34daa803f5353ced57d2d30041b93701c8c (diff)
parent257bf55827474e500d83d96b7a8f8ebacbd11e7d (diff)
downloadgcc-6d1ff568084ed86e6cf14e709fe6892256be824a.zip
gcc-6d1ff568084ed86e6cf14e709fe6892256be824a.tar.gz
gcc-6d1ff568084ed86e6cf14e709fe6892256be824a.tar.bz2
Merge #912
912: Handle generic substitution on path expressions r=philberty a=philberty 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 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