diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-22 11:45:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 11:45:59 +0000 |
commit | b392376cc521230c8b254841ab036541317dc907 (patch) | |
tree | eca4ecc8e78270566cf628ff18b8996d4c381c1e /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | d541ded4855d0b4273a986b15ff497c45dbc6c78 (diff) | |
parent | 7915329a0c552245488710d7561a6a76f784c0a7 (diff) | |
download | gcc-b392376cc521230c8b254841ab036541317dc907.zip gcc-b392376cc521230c8b254841ab036541317dc907.tar.gz gcc-b392376cc521230c8b254841ab036541317dc907.tar.bz2 |
Merge #1154
1154: Add support for isize and usize type-hints r=philberty a=philberty
This bug turned out to be that we expected a usize for the array capacity
but the specified capacity turned out to be an integer inference variable
which will default to a signed integer. The type resolution was missing
handling the type-hints of isize and usize
Fixes #1152
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions