about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-02-02 14:15:52 +0100
committerGitHub <noreply@github.com>2020-02-02 14:15:52 +0100
commit5951cd3dda738ee6187ecea040738cbad57e04e4 (patch)
treed08a2ad41197c6305fbff803237b6ae90f5d1abb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent2e1790dda1a097c2498960413dd8a89f0a18e05f (diff)
parent71a6f58229c00720b35579856bdb64e2a19af521 (diff)
downloadrust-5951cd3dda738ee6187ecea040738cbad57e04e4.tar.gz
rust-5951cd3dda738ee6187ecea040738cbad57e04e4.zip
Rollup merge of #68764 - Centril:self-semantic, r=petrochenkov
parser: syntactically allow `self` in all `fn` contexts

Part of https://github.com/rust-lang/rust/pull/68728.

`self` parameters are now *syntactically* allowed as the first parameter irrespective of item context (and in function pointers). Instead, semantic validation (`ast_validation`) is used.

r? @petrochenkov
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions