diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-30 16:16:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 16:16:38 +0000 |
commit | b1dcbc3d8e2fedd7b0c2f42554f4c2297469dabe (patch) | |
tree | 6ac4d268325bf75dfc747c12ff18122826a5c151 /gcc/rust/backend | |
parent | 0276ec39a9c3b839c47ce28838a8d5af25fbf598 (diff) | |
parent | 2216cab0c9f694016d6cc220cfa8f5c23ba5f465 (diff) | |
download | gcc-b1dcbc3d8e2fedd7b0c2f42554f4c2297469dabe.zip gcc-b1dcbc3d8e2fedd7b0c2f42554f4c2297469dabe.tar.gz gcc-b1dcbc3d8e2fedd7b0c2f42554f4c2297469dabe.tar.bz2 |
Merge #401
401: Add defaults support for generics r=philberty a=philberty
This adds in the basic support for default arguments for generics such as:
```rust
struct Foo<A,B=f32>(A,B);
```
or recursive type params such as:
```rust
struct Foo<A, B = (A, A)>(A, B);
```
Fixes #307
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions