diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-04-22 10:24:46 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-04-22 10:24:46 +0100 |
commit | 7915329a0c552245488710d7561a6a76f784c0a7 (patch) | |
tree | 2d96d02b9907a9b28273d60b91c6e10dd58f6ffd /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | 243ef0dfe713a9fc8d4d80feb488a58b2639f39f (diff) | |
download | gcc-7915329a0c552245488710d7561a6a76f784c0a7.zip gcc-7915329a0c552245488710d7561a6a76f784c0a7.tar.gz gcc-7915329a0c552245488710d7561a6a76f784c0a7.tar.bz2 |
Add support for isize and usize type-hints
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
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions