diff options
author | lishin <lishin1008@gmail.com> | 2025-01-20 17:53:18 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-01-21 13:47:20 +0000 |
commit | 8a50054579daceca97cc83d02db949d85c7fdfba (patch) | |
tree | 20babf632141c30028f7a320d72c8764c18294a9 /gcc/rust/hir/rust-hir-dump.cc | |
parent | 53dfc6acf966284a86826141c8f364c1732d3d3d (diff) | |
download | gcc-8a50054579daceca97cc83d02db949d85c7fdfba.zip gcc-8a50054579daceca97cc83d02db949d85c7fdfba.tar.gz gcc-8a50054579daceca97cc83d02db949d85c7fdfba.tar.bz2 |
lang-item:Add LangItem::Kind::RECEIVER
Add and implement a lang item (receiver) in source code.
gcc/rust/ChangeLog:
* util/rust-lang-item.cc: Add receiver to map.
* util/rust-lang-item.h: Define LangItem::Kind::RECEIVER.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2954.rs: New test.
Signed-off-by: lishin <lishin1008@gmail.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions