diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-05-25 11:48:54 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-05-25 13:38:17 +0100 |
commit | 4cfd6942c07021db05beae40e1128901e37109e6 (patch) | |
tree | 0c7a22bebb3e15b7ffbc54850225aaa1732b2fa6 /gcc/rust/parse/rust-parse-impl.h | |
parent | 79d977e759b073a0a4d422b9a1032427ddc05295 (diff) | |
download | gcc-4cfd6942c07021db05beae40e1128901e37109e6.zip gcc-4cfd6942c07021db05beae40e1128901e37109e6.tar.gz gcc-4cfd6942c07021db05beae40e1128901e37109e6.tar.bz2 |
Str's have the same layout as [T]
Raw strings have a very specific type layout which maps over to Slices. It
also has very specific type checking rules so for example:
let a:&str = "TEST 1";
let b:&str = &"TEST 2";
Are both the same type this is likely to be for all DST's but lets do one
rule at a time.
Fixes #1023 #1271
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions