- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Open
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.Category: This is a bug.F-return_type_notation`#[feature(return_type_notation)]``#[feature(return_type_notation)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
This is blocked by T-lang's decision on the final syntax of RTN! Unblocked (IINM)
Source:
#![feature(return_type_notation)]
pub fn f<T: Trait<f(): Copy>>() {}
pub trait Trait { fn f() -> impl Clone; }Current rendered output of  Fixed by: #137956f (local scenario, HIR-based cleaning):
pub fn f<T: Trait<f: Copy>>()Current rendered output of f (inlined cross-crate re-export scenario, rustc_middle::ty-based cleaning):
pub fn f<T>()
where
    T: Trait,
    impl Clone: Copy,Metadata
Metadata
Assignees
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.Category: This is a bug.F-return_type_notation`#[feature(return_type_notation)]``#[feature(return_type_notation)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.