Skip to content

1.95 beta regression: "no method named accept found for struct..." #153849

@theemathas

Description

@theemathas

Regression found by the 1.95 beta crater run.

[INFO] [stdout] error[E0599]: no method named `accept` found for struct `Server<{closure@src/main.rs:31:77: 31:91}>` in the current scope
[INFO] [stdout]   --> src/main.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |         server.accept(&config.server.address)?;
[INFO] [stdout]    |                ^^^^^^ method not found in `Server<{closure@src/main.rs:31:77: 31:91}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for
[INFO] [stdout]            - `Server<T, STACK_SIZE>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.

https://crater-reports.s3.amazonaws.com/beta-1.95-3/1.95.0-beta.3/reg/url-redirect-0.3.0/log.txt

Metadata

Metadata

Assignees

Labels

A-closuresArea: Closures (`|…| { … }`)A-higher-rankedArea: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)A-inferenceArea: Type inferenceA-method-lookupArea: Method lookup (typeck, post `rustc_resolve`, not to be confused with `A-resolve`)C-bugCategory: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.S-has-bisectionStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-typesRelevant to the types 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

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions