Skip to content

rustdoc doesn't render associated type bindings #20646

Closed
@japaric

Description

@japaric

STR

#![feature(associated_types)]

pub trait Trait {
    type Output;
}

pub fn fun<T>(_: T) where T: Trait<Output=int> {}

Output

20150106122627

The T: Trait bound should render as T: Trait<Output=int>

Version

rustc 0.13.0-nightly (c7dd3c4d6 2015-01-05 23:51:00 +0000)

Metadata

Metadata

Assignees

Labels

A-associated-itemsArea: Associated items (types, constants & functions)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions