Closed
Description
[INFO] [stderr] Compiling advent-2023 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: a value of type `HashMap<Pulse, u64>` cannot be built from an iterator over elements of type `&(Pulse, {integer})`
[INFO] [stdout] --> src/bin/20/main.rs:278:88
[INFO] [stdout] |
[INFO] [stdout] 278 | assert_eq!(config.counts, [(Pulse::Low, low), (Pulse::High, high)].into_iter().collect());
[INFO] [stdout] | ^^^^^^^ value of type `HashMap<Pulse, u64>` cannot be built from `std::iter::Iterator<Item=&(Pulse, {integer})>`
[INFO] [stdout] 279 | } }
Metadata
Metadata
Assignees
Labels
Area: The 2024 editionIssue: This issue has been reviewed and triaged by the Edition team.Relevant to the language team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.Performance or correctness regression from stable to beta.