gh-96385: Correctly raise error on `[*T, *V]` substitution (GH-96386)

3 files changed