diff options
| author | bors <bors@rust-lang.org> | 2017-07-18 10:20:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-18 10:20:13 +0000 |
| commit | 83c659ef655b1f740777f83eb415fd7ebe5a3fe5 (patch) | |
| tree | b33f8e7603cf90dba99ae18b867ebccfe552142d /src/libstd/thread | |
| parent | 2e6334062e2be142125e99d63867711da505cc9e (diff) | |
| parent | 39114f916905b16b414f51031426309b63f856a9 (diff) | |
| download | rust-83c659ef655b1f740777f83eb415fd7ebe5a3fe5.tar.gz rust-83c659ef655b1f740777f83eb415fd7ebe5a3fe5.zip | |
Auto merge of #42492 - petrochenkov:methlife, r=nikomatsakis
Support generic lifetime arguments in method calls Fixes https://github.com/rust-lang/rust/issues/42403 Fixes https://github.com/rust-lang/rust/issues/42115 Lifetimes in a method call `x.f::<'a, 'b, T, U>()` are treated exactly like lifetimes in the equivalent UFCS call `X::f::<'a, 'b, T, U>`. In addition, if the method has late bound lifetime parameters (explicit or implicit), then explicitly specifying lifetime arguments is not permitted (guarded by a compatibility lint). [breaking-change] because previously lifetimes in method calls were accepted unconditionally. r? @eddyb
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions
