Skip to content

Error 0212 is missing from the error index #55523

@shepmaster

Description

@shepmaster

I was debugging code like this:

trait ExtractFrom<'a> {
    type Extracted;
}

fn sort_by_extractor<T>()
where
    T: for<'a> ExtractFrom<'a>,
    T::Extracted: Copy,
{
}

And got this error:

error[E0212]: cannot extract an associated type from a higher-ranked trait bound in this context
 --> src/lib.rs:8:5
  |
8 |     T::Extracted: Copy,
  |     ^^^^^^^^^^^^

However, 0212 is not documented in the error index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions