Remove BindingKind::ComprehensionVar (#12347)

## Summary

This doesn't seem to be used anywhere. Maybe it mattered when we didn't
handle generator scopes properly?
This commit is contained in:
Charlie Marsh 2024-07-16 11:18:04 -04:00 committed by GitHub
parent d0c5925672
commit 30cef67b45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 0 additions and 21 deletions

View file

@ -467,12 +467,6 @@ pub enum BindingKind<'a> {
/// ```
LoopVar,
/// A binding for a comprehension variable, like `x` in:
/// ```python
/// [x for x in range(10)]
/// ```
ComprehensionVar,
/// A binding for a with statement variable, like `x` in:
/// ```python
/// with open('foo.py') as x: