aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-buffered-queue.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-06-29 15:37:38 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-06-29 16:35:52 +0100
commit18648e7b9f54c0cec4d4d865ff42b453b8de7101 (patch)
treee81aeb3fa144b3cb85139c2d0eae4092d68db5e8 /gcc/rust/rust-buffered-queue.h
parent81abc8623cb75fa18315c65e94c5965ec36fdb54 (diff)
downloadgcc-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