about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-28 03:01:42 +0200
committerGitHub <noreply@github.com>2019-07-28 03:01:42 +0200
commitece18b750db8e4c46a42d9a7ba6621a4800e9eae (patch)
tree72c40537c6c3bbe1df45b9d36dedeb992e2a24bc /src/libsyntax/parse/parser/expr.rs
parentc798dffac9dc8c82374db48f5b474690cc6e9686 (diff)
parent05f67a297a25dc33f2d739dbccc42f44bc6d7ab9 (diff)
downloadrust-ece18b750db8e4c46a42d9a7ba6621a4800e9eae.tar.gz
rust-ece18b750db8e4c46a42d9a7ba6621a4800e9eae.zip
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
Allow lifetime elision in `Pin<&(mut) Self>`

This PR changes `self: &(mut) S` elision rules to instead visit the type of `self` and look for `&(mut) S` (where `is_self_ty(S)`) within it

Replaces #60944

Closes #52675

r? @eddyb
cc @cramertj @Centril @withoutboats @scottmcm
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions