diff options
| author | Michael Goulet <michael@errs.io> | 2023-07-14 18:37:12 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-07-29 21:19:33 +0000 |
| commit | 349a2372ed2ad8989a663f05c7efd23e879bfbb9 (patch) | |
| tree | 7b981a3b886dcc8cfa57aef5607cfa91d8a09e7d /tests/ui/impl-trait | |
| parent | 03a57254b56886c43464e23b74af484d11374623 (diff) | |
| download | rust-349a2372ed2ad8989a663f05c7efd23e879bfbb9.tar.gz rust-349a2372ed2ad8989a663f05c7efd23e879bfbb9.zip | |
Take RPITITs inherit the assumed_wf_types of their parent fn
Diffstat (limited to 'tests/ui/impl-trait')
| -rw-r--r-- | tests/ui/impl-trait/in-trait/wf-bounds.stderr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ui/impl-trait/in-trait/wf-bounds.stderr b/tests/ui/impl-trait/in-trait/wf-bounds.stderr index beac6620911..4d60b133048 100644 --- a/tests/ui/impl-trait/in-trait/wf-bounds.stderr +++ b/tests/ui/impl-trait/in-trait/wf-bounds.stderr @@ -47,10 +47,6 @@ note: required by a bound in `NeedsDisplay` | LL | struct NeedsDisplay<T: Display>(T); | ^^^^^^^ required by this bound in `NeedsDisplay` -help: consider restricting type parameter `T` - | -LL | fn nya4<T: std::fmt::Display>() -> impl Wf<NeedsDisplay<T>>; - | +++++++++++++++++++ error: aborting due to 4 previous errors |
