MCPcopy Create free account
hub / github.com/astral-sh/ruff / into_errors

Method into_errors

crates/ruff_python_parser/src/lib.rs:429–431  ·  view source on GitHub ↗

Consumes the [`Parsed`] output and returns a list of syntax errors found during parsing.

(self)

Source from the content-addressed store, hash-verified

427
428 /// Consumes the [`Parsed`] output and returns a list of syntax errors found during parsing.
429 fn into_errors(self) -> Vec<ParseError> {
430 self.errors
431 }
432
433 /// Returns `true` if the parsed source code is valid i.e., it has no [`ParseError`]s.
434 ///

Callers 1

into_resultMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected