about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-30 10:39:47 +0200
committerGitHub <noreply@github.com>2024-06-30 10:39:47 +0200
commitfe1f83ccd7d0e20f3e22a9c106dd68a2bfa2b944 (patch)
treeec04c79d4299af4a1efd4f0239cb16b3855852b3 /compiler/rustc_hir_analysis/src/structured_errors.rs
parentc7aee65eddab5ff36538a6959689a0e27d6e21e5 (diff)
parent39bf1dcce5b0e80fbdbcde30e618821f5c9b0bf0 (diff)
downloadrust-fe1f83ccd7d0e20f3e22a9c106dd68a2bfa2b944.tar.gz
rust-fe1f83ccd7d0e20f3e22a9c106dd68a2bfa2b944.zip
Rollup merge of #126906 - GrigorenkoPV:fixme-split_at_first, r=Mark-Simulacrum
Small fixme in core now that split_first has no codegen issues

https://github.com/rust-lang/rust/issues/109328#issuecomment-1677366881

BTW, I have a crate implementing exactly this kind of an iterator: https://github.com/GrigorenkoPV/head-tail-iter and I was wondering if it would be worthwhile to try and make an ACP for it to get it included in std (or maybe itertools). My only doubt is that it kinda incentives writing O(n^2) algorithms and is not the hard to replace with a `while let` loop (just as in this PR).
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions