Remove separate ReferenceContext enum (#4631)

This commit is contained in:
Charlie Marsh 2023-05-24 11:12:38 -04:00 committed by GitHub
parent 86ced3516b
commit fcdc7bdd33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 30 additions and 61 deletions

View file

@ -0,0 +1,7 @@
#[derive(Debug, Copy, Clone, is_macro::Is)]
pub enum ExecutionContext {
/// The reference occurs in a runtime context.
Runtime,
/// The reference occurs in a typing-only context.
Typing,
}