Skip to content

Rustdoc ommits default for default fn #58898

Closed
@bjorn3

Description

@bjorn3

screenshot_2019-03-03 rustc ty query values value - rust

impl<'tcx, T> Value<'tcx> for T {
    default fn from_cycle_error<'a>(tcx: TyCtxt<'a, 'tcx, 'tcx>) -> T {
        tcx.sess.abort_if_errors();
        bug!("Value::from_cycle_error called without errors");
    }
}

Metadata

Metadata

Labels

A-specializationArea: Trait impl specializationC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions