mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-23 11:54:39 +00:00
Remove separate ReferenceContext
enum (#4631)
This commit is contained in:
parent
86ced3516b
commit
fcdc7bdd33
7 changed files with 30 additions and 61 deletions
|
@ -7,6 +7,7 @@ use ruff_index::{newtype_index, IndexSlice, IndexVec};
|
|||
use ruff_python_ast::helpers;
|
||||
use ruff_python_ast::source_code::Locator;
|
||||
|
||||
use crate::context::ExecutionContext;
|
||||
use crate::model::SemanticModel;
|
||||
use crate::node::NodeId;
|
||||
use crate::reference::ReferenceId;
|
||||
|
@ -272,9 +273,3 @@ bitflags! {
|
|||
const IMPORT_ERROR = 0b0000_0100;
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Debug, Clone, is_macro::Is)]
|
||||
pub enum ExecutionContext {
|
||||
Runtime,
|
||||
Typing,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue