diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-14 04:18:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-14 04:18:36 +0200 |
| commit | 3f181120795de77b3d9489f37e805082daa571e7 (patch) | |
| tree | cc5ec923e0aac2187c1147e3c5b29fe956f4fb2f /src/test/debuginfo/enum-thinlto.rs | |
| parent | dda33cad3841a49e066f8eac56f89db8a0ce4e5c (diff) | |
| parent | 861d1bb365419c4a9ae8eb14257323e9877e5d42 (diff) | |
| download | rust-3f181120795de77b3d9489f37e805082daa571e7.tar.gz rust-3f181120795de77b3d9489f37e805082daa571e7.zip | |
Rollup merge of #62849 - davidtwco:prohibit-inheriting-lifetimes, r=nikomatsakis
typeck: Prohibit RPIT types that inherit lifetimes Part of #61949. This PR prohibits return position `impl Trait` types that "inherit lifetimes" from the parent scope. The intent is to forbid cases that are challenging until they can be addressed properly. cc @nikomatsakis
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
