mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
6f5c09849e
Fix handling of `hir::GenericArg::Infer` in `wrong_number_of_generic_args.rs` Fixes #87563. More precisely, I have fixed the "index out of bounds" error, which is what #87563 is about. The example given there still ICEs due to running into this `todo!()`, but I'd say that this is a separate issue: https://github.com/rust-lang/rust/blob/c3c0f80d6081092faff801542dd82f0e2420152b/compiler/rustc_typeck/src/astconv/mod.rs#L460-L463