diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-26 08:55:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 08:55:57 +0000 |
commit | a4455d8f522cad015f3540f118f8c6ce2775fccb (patch) | |
tree | 523681227dc0a48b4f7176ca9dcedd37a46f1f51 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 5c84a5ca514398f858020c378c5a26f0593eaee3 (diff) | |
parent | 4cfd6942c07021db05beae40e1128901e37109e6 (diff) | |
download | gcc-a4455d8f522cad015f3540f118f8c6ce2775fccb.zip gcc-a4455d8f522cad015f3540f118f8c6ce2775fccb.tar.gz gcc-a4455d8f522cad015f3540f118f8c6ce2775fccb.tar.bz2 |
Merge #1280
1280: Str's have the same layout as [T] r=philberty a=philberty
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
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions