Remove ReferenceContext::Synthetic (#4612)

This commit is contained in:
Charlie Marsh 2023-05-24 10:30:35 -04:00 committed by GitHub
parent 38297c08b4
commit 5cedf0f724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 110 additions and 98 deletions

View file

@ -34,10 +34,6 @@ pub enum ReferenceContext {
Runtime,
/// The reference occurs in a typing-only context.
Typing,
/// The reference occurs in a synthetic context, used for `__future__` imports, explicit
/// re-exports, and other bindings that should be considered used even if they're never
/// "referenced".
Synthetic,
}
/// Id uniquely identifying a read reference in a program.