(
context: &Ctx,
kind: SemanticSyntaxErrorKind,
range: TextRange,
)
| 46 | |
| 47 | impl SemanticSyntaxChecker { |
| 48 | fn add_error<Ctx: SemanticSyntaxContext>( |
| 49 | context: &Ctx, |
| 50 | kind: SemanticSyntaxErrorKind, |
| 51 | range: TextRange, |
| 52 | ) { |
| 53 | context.report_semantic_error(SemanticSyntaxError { |
| 54 | kind, |
| 55 | range, |
| 56 | python_version: context.python_version(), |
| 57 | }); |
| 58 | } |
| 59 | |
| 60 | fn check_lazy_import_context<Ctx: SemanticSyntaxContext>( |
| 61 | ctx: &Ctx, |
nothing calls this directly
no test coverage detected