aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-09-30 11:09:57 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-09-30 11:38:52 +0100
commit65d06d56e8201e365e60adeef9121386a626a203 (patch)
treee82ee610e2a862a728131eb414217b37613b6c81 /gcc/rust/backend/rust-compile-resolve-path.cc
parentfdcad086e134b889ba542fadc1150bb2fcef8aea (diff)
downloadgcc-65d06d56e8201e365e60adeef9121386a626a203.zip
gcc-65d06d56e8201e365e60adeef9121386a626a203.tar.gz
gcc-65d06d56e8201e365e60adeef9121386a626a203.tar.bz2
Implement Byte Strings
Byte strings are not str's they are arrays of [u8; capacity], this preserves their type guarantees as a byte string. This patch merges work from Mark to implement the correct typing, the missing piece was that each implicit type needed its own implicit id, other wise their is a loop in looking up the covariant types. Fixes #697 Co-authored-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions