Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc doesn't render associated type bindings #20646

Closed
japaric opened this issue Jan 6, 2015 · 5 comments
Closed

rustdoc doesn't render associated type bindings #20646

japaric opened this issue Jan 6, 2015 · 5 comments
Assignees
Labels
A-associated-items Area: Associated items (types, constants & functions) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Milestone

Comments

@japaric
Copy link
Member

japaric commented Jan 6, 2015

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)

@kmcallister kmcallister added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-associated-items Area: Associated items (types, constants & functions) labels Jan 6, 2015
@nikomatsakis nikomatsakis added this to the 1.0 alpha milestone Jan 7, 2015
@nrc nrc self-assigned this Jan 7, 2015
@nrc
Copy link
Member

nrc commented Jan 7, 2015

Is anyone working on this?

@nrc
Copy link
Member

nrc commented Jan 7, 2015

@tomjakubowski ?

@tomjakubowski
Copy link
Contributor

If no one else is, I'll be working on this in a few hours along with a few other rustdoc issues.

@aturon
Copy link
Member

aturon commented Jan 7, 2015

@tomjakubowski FWIW, this would need to be resolved in the next couple of hours to make the alpha window. I would prioritize this bug pretty highly and try to get it in if you can!

tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Jan 8, 2015
e.g. `Foo<Output=A>`

This does not work cross-crate unfortunately.

Part of rust-lang#20646
@nrc nrc removed their assignment Jan 8, 2015
@nikomatsakis nikomatsakis modified the milestones: 1.0 beta, 1.0 alpha Jan 9, 2015
@brson brson self-assigned this Feb 12, 2015
@brson brson removed their assignment Mar 26, 2015
@pnkfelix
Copy link
Member

(cross-crate instances still need to be resolved.)

Not a beta-blocker. Reclassifying as 1.0

@pnkfelix pnkfelix modified the milestones: 1.0, 1.0 beta Mar 26, 2015
@emberian emberian self-assigned this Mar 26, 2015
@alexcrichton alexcrichton assigned alexcrichton and unassigned emberian Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-associated-items Area: Associated items (types, constants & functions) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

10 participants