aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lint/rust-lint-scan-deadcode.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-22 16:25:07 +0000
committerGitHub <noreply@github.com>2022-02-22 16:25:07 +0000
commite0f261f1aea2c9968a07442ca5d4eab813f86a58 (patch)
tree54781829b4dbe2aa0371562c6eb05cdaf375e4c6 /gcc/rust/lint/rust-lint-scan-deadcode.h
parent265c223766f1f4525558d086ccc46bd49f7b26e0 (diff)
parent865aa0aeb5652f7f467f29132538ab9504dcc44d (diff)
downloadgcc-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/lint/rust-lint-scan-deadcode.h')
0 files changed, 0 insertions, 0 deletions