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