Closed
Parent:Crater runs for 1.87
Description
[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
Area: The lexing & parsing of Rust source code to an ASTCategory: This is a bug.Critical priorityStatus: A bisection has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueRelevant to the compiler team, which will review and decide on the PR/issue.Performance or correctness regression from stable to beta.
Type
Projects
Relationships
Parent issue
Development
No branches or pull requests
Activity
cuviper commentedon Apr 23, 2025
I minimized it to this example:
The
upper
is fine, butlower
gives the error. It's also fine if you add a space,where t: Copy
.On nightly, it also mentions type ascription:
edit: that was with
rustc 1.88.0-nightly (78f2104e3 2025-04-16)
, but not after I updated to6bc57c6bf 2025-04-22
.[-]regression: error: path separator must be a double colon (in `where` clause[/-][+]regression: error: path separator must be a double colon (in `where` clause)[/+]16 remaining items