diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-22 16:25:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 16:25:07 +0000 |
commit | e0f261f1aea2c9968a07442ca5d4eab813f86a58 (patch) | |
tree | 54781829b4dbe2aa0371562c6eb05cdaf375e4c6 /gcc/rust/backend/rust-compile-expr.h | |
parent | 265c223766f1f4525558d086ccc46bd49f7b26e0 (diff) | |
parent | 865aa0aeb5652f7f467f29132538ab9504dcc44d (diff) | |
download | gcc-e0f261f1aea2c9968a07442ca5d4eab813f86a58.zip gcc-e0f261f1aea2c9968a07442ca5d4eab813f86a58.tar.gz gcc-e0f261f1aea2c9968a07442ca5d4eab813f86a58.tar.bz2 |
Merge #953
953: Refactor lang item mappings r=philberty a=philberty
This refactors how we find our lang items so that during HIR lowering
we have a generic outer attributes handler on Items. The old code only
done lang item mappings during the type check pass and assumed all
lang items are Traits which is not the case. To implement slices range
syntax actually map to structs within libcore/ops/range.rs which have
lang items on structs. This means we can have lang items on any Item.
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions