diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-06-18 15:20:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-18 15:20:43 -0700 |
| commit | 40fd2bdcfec7a30a2cce0d4a2cc08d09e64cabeb (patch) | |
| tree | 2e3e2f8e3065fbaa7761329779288ea5cbebe6c6 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs | |
| parent | 9262fc2a68133330a8f78c73afa54b3ff09724b5 (diff) | |
| parent | bfe1434d3bb849d3eb993c42fb57aa0819f9be65 (diff) | |
| download | rust-40fd2bdcfec7a30a2cce0d4a2cc08d09e64cabeb.tar.gz rust-40fd2bdcfec7a30a2cce0d4a2cc08d09e64cabeb.zip | |
Rollup merge of #72804 - estebank:opaque-missing-lts-in-fn-2, r=nikomatsakis
Further tweak lifetime errors involving `dyn Trait` and `impl Trait` in return position * Suggest substituting `'static` lifetime in impl/dyn `Trait + 'static` instead of `Trait + 'static + '_` * When `'static` is explicit, also suggest constraining argument with it * Reduce verbosity of suggestion message and mention lifetime in label * Tweak output for overlapping required/captured spans * Give these errors an error code Follow up to #72543. r? @nikomatsakis
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions
