Skip to content

regression 1.49: failing to infer generic param when not explicitly stated #79905

@rylev

Description

@rylev

Logs https://crater-reports.s3.amazonaws.com/beta-1.49-1/beta-2020-11-26/reg/traitgraph-0.1.0/log.txt

[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/algo/traversal.rs:92:35
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 if *rank_entry == None.into() {
[INFO] [stdout]    |                                   ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`

@rustbot modify labels: +regression-from-stable-to-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-inferenceArea: Type inferenceT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions