about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-18 19:04:15 +0000
committerbors <bors@rust-lang.org>2019-06-18 19:04:15 +0000
commit04a3dd8a872633ca1e4c217d11f741cc35cb19a5 (patch)
treec8d89b1c1dc99017ffbeb443e2f1e5deb6ddbd2a /src/libsyntax/parse/parser.rs
parent673cf7de44b5a98092b5bc7cf2906e866383a65d (diff)
parent2be847b2f95414690538bea48138a6738b47b43a (diff)
downloadrust-04a3dd8a872633ca1e4c217d11f741cc35cb19a5.tar.gz
rust-04a3dd8a872633ca1e4c217d11f741cc35cb19a5.zip
Auto merge of #61891 - eddyb:lifetime-cleanups, r=oli-obk
rustc: remove 'x: 'y bounds (except where necessary or from comments/strings).

This PR removes all lifetime-lifetime "outlives" bounds (e.g. `'tcx: 'a`) bounds except a few necessary ones (see the `reintroduce lifetime bounds where necessary` commit).

Some of these bounds kept around otherwise-unused lifetimes (e.g. `<'a, 'tcx: 'a>` followed by uses of `'tcx` but not `'a`) - these lifetimes (i.e. `'a`) were then removed.
(maybe they should be considered unused by the lint? cc @matthewjasper @zackmdavis)

r? @oli-obk cc @rust-lang/compiler
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions