diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-06-29 15:37:38 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-06-29 16:35:52 +0100 |
commit | 18648e7b9f54c0cec4d4d865ff42b453b8de7101 (patch) | |
tree | e81aeb3fa144b3cb85139c2d0eae4092d68db5e8 /gcc/rust/rust-buffered-queue.h | |
parent | 81abc8623cb75fa18315c65e94c5965ec36fdb54 (diff) | |
download | gcc-18648e7b9f54c0cec4d4d865ff42b453b8de7101.zip gcc-18648e7b9f54c0cec4d4d865ff42b453b8de7101.tar.gz gcc-18648e7b9f54c0cec4d4d865ff42b453b8de7101.tar.bz2 |
Add support for the self path
This keyword is described in
https://doc.rust-lang.org/std/keyword.self.html
Which allows it to refer to the current module when used as the first
segment. If the keyword is used as any other segment it leads to a
confusion between self the local parameter keyword in methods. Rustc
emits a generic unresolved segment error in that senario which I have
adopted here.
Fixes #1227
Diffstat (limited to 'gcc/rust/rust-buffered-queue.h')
0 files changed, 0 insertions, 0 deletions