diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-27 14:39:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 14:39:54 +0000 |
commit | 6647bc65b1a2d3ba581674a9ca22d4ef7a959914 (patch) | |
tree | 73d105263d6fbf23eea1ea94a97af950eaf9bb03 /gcc/rust/backend | |
parent | a24a14371b16c316a815a9440b1d960cd3f885dd (diff) | |
parent | 3df65d5b4ec06c7ac1ec39d8d1a1c268b024531c (diff) | |
download | gcc-6647bc65b1a2d3ba581674a9ca22d4ef7a959914.zip gcc-6647bc65b1a2d3ba581674a9ca22d4ef7a959914.tar.gz gcc-6647bc65b1a2d3ba581674a9ca22d4ef7a959914.tar.bz2 |
Merge #394
394: Partial substitions of generic data types r=philberty a=philberty
Handle the case where we have a generic type:
```rust
struct Foo<A,B>(A,B);
impl<T> Foo<i32, T> { ... }
```
In this case the impl block only defines 1 type parameter but the generic datatype has two type parameters.
Fixes #386
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions