diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-19 16:00:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-19 16:00:51 +0200 |
| commit | 7e4ff91403dd4752cc643e9dff55d93076e4802c (patch) | |
| tree | e16ec2df278bb50ca2d3e2d48ceb7157cbf3b8bb /src/test/ui/iterators/iter-sum-overflow-debug.rs | |
| parent | 53a3bfc82bb962b4b604d489646567714fe4e2a2 (diff) | |
| parent | c6dce7802dc49a2e4b6049ad8971ba6f18252e64 (diff) | |
| download | rust-7e4ff91403dd4752cc643e9dff55d93076e4802c.tar.gz rust-7e4ff91403dd4752cc643e9dff55d93076e4802c.zip | |
Rollup merge of #65192 - estebank:restrict-bound, r=matthewjasper
Use structured suggestion for restricting bounds When a trait bound is not met and restricting a type parameter would make the restriction hold, use a structured suggestion pointing at an appropriate place (type param in param list or `where` clause). Account for opaque parameters where instead of suggesting extending the `where` clause, we suggest appending the new restriction: `fn foo(impl Trait + UnmetTrait)`. Fix #64565, fix #41817, fix #24354, cc #26026, cc #37808, cc #24159, fix #37138, fix #24354, cc #20671.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions
