diff options
| author | David Wood <david@davidtw.co> | 2019-07-21 14:37:13 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-08-12 19:04:11 +0100 |
| commit | 861d1bb365419c4a9ae8eb14257323e9877e5d42 (patch) | |
| tree | a21ad5bbad01a3873219e7ae4351d71259c31f07 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 60960a260f7b5c695fd0717311d72ce62dd4eb43 (diff) | |
| download | rust-861d1bb365419c4a9ae8eb14257323e9877e5d42.tar.gz rust-861d1bb365419c4a9ae8eb14257323e9877e5d42.zip | |
typeck: Prohibit RPIT types that inherit lifetimes
This commit 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.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
