Skip to content

regression: error: path separator must be a double colon (in where clause) #140227

Closed
@cuviper

Description

@cuviper
[INFO] [stdout] error: path separator must be a double colon
[INFO] [stdout]   --> src/lib.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     where a:AsRef<str>{
[INFO] [stdout]    |            ^
[INFO] [stdout]    |
[INFO] [stdout] help: use a double colon instead
[INFO] [stdout]    |
[INFO] [stdout] 68 |     where a::AsRef<str>{
[INFO] [stdout]    |             +

Version it worked on

It most recently worked on: 1.86.0

Version with regression

rustc 1.87.0-beta.5 (386abeb93 2025-04-19) in crater #139827.

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

Metadata

Metadata

Assignees

Labels

A-parserArea: The lexing & parsing of Rust source code to an ASTC-bugCategory: This is a bug.P-criticalCritical priorityS-has-bisectionStatus: a bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-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

Relationships

None yet

Development

No branches or pull requests

Issue actions