Home
last modified time | relevance | path

Searched defs:ParseError (Results 1 – 25 of 66) sorted by relevance

123

/third_party/rust/rust/tests/ui/traits/new-solver/
Dtry-example.rs16 struct ParseError; struct
18 impl std::fmt::Display for ParseError { implementation
24 impl Error for ParseError {} implementation
26 fn parse<T: Parse>() -> Result<T, ParseError> { in parse() argument
/third_party/rust/rust/compiler/rustc_mir_build/src/build/custom/
Dmod.rs149 struct ParseError { struct
156 fn expr_error(&self, expr: ExprId, expected: &'static str) -> ParseError { in expr_error()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dcase.rs45 pub fn from_str(rename_all_str: &str) -> Result<Self, ParseError> { in from_str() argument
120 pub struct ParseError<'a> { struct
124 impl<'a> Display for ParseError<'a> { argument
/third_party/rust/rust/src/tools/rust-analyzer/crates/mbe/src/
Dlib.rs45 pub enum ParseError { enum
52 impl ParseError { implementation
53 fn expected(e: &str) -> ParseError { in expected()
57 fn unexpected(e: &str) -> ParseError { in unexpected()
62 impl fmt::Display for ParseError { implementation
220 ) -> Result<DeclarativeMacro, ParseError> { in parse_macro_rules() argument
245 pub fn parse_macro2(tt: &tt::Subtree, is_2021: bool) -> Result<DeclarativeMacro, ParseError> { in parse_macro2() argument
301 fn parse(src: &mut TtIter<'_>, expect_arrow: bool) -> Result<Self, ParseError> { in parse() argument
316 fn validate(pattern: &MetaTemplate) -> Result<(), ParseError> { in validate() argument
Dparser.rs26 pub(crate) fn parse_pattern(pattern: &tt::Subtree) -> Result<MetaTemplate, ParseError> { in parse_pattern() argument
30 pub(crate) fn parse_template(template: &tt::Subtree) -> Result<MetaTemplate, ParseError> { in parse_template() argument
38 fn parse(tt: &tt::Subtree, mode: Mode) -> Result<MetaTemplate, ParseError> { in parse() argument
124 ) -> Result<Op, ParseError> { in next_op() argument
215 fn eat_fragment_kind(src: &mut TtIter<'_>, mode: Mode) -> Result<Option<MetaVarKind>, ParseError> { in eat_fragment_kind() argument
247 fn parse_repeat(src: &mut TtIter<'_>) -> Result<(Option<Separator>, RepeatKind), ParseError> { in parse_repeat() argument
/third_party/rust/crates/bindgen/bindgen/
Dparse.rs10 pub(crate) enum ParseError { enum
40 ) -> Result<ParseResult<Self>, ParseError>; in parse() argument
/third_party/rust/rust/tests/ui/associated-types/
Dissue-67684.rs11 trait ParseError { trait
62 <A as Stream>::Error: ParseError, in parse_mode_impl()
Dissue-54467.rs8 pub trait ParseError<I> { trait
/third_party/vk-gl-cts/framework/xexml/
DxeDefs.hpp41 class ParseError : public Error class
44 ParseError (const std::string& message) : Error(message) {} in ParseError() function in xe::ParseError
DxeXMLParser.hpp77 class ParseError : public xe::ParseError class
80 ParseError (const std::string& message) : xe::ParseError(message) {} in ParseError() function in xe::xml::ParseError
/third_party/protobuf/rust/
Dshared.rs98 pub struct ParseError; struct
100 impl std::error::Error for ParseError {} implementation
102 impl fmt::Display for ParseError { implementation
Dcodegen_traits.rs76 fn parse(serialized: &[u8]) -> Result<Self, crate::ParseError>; in parse()
103 fn clear_and_parse(&mut self, data: &[u8]) -> Result<(), crate::ParseError>; in clear_and_parse()
/third_party/rust/rust/tests/rustdoc-json/enums/
Dfield_hidden.rs11 pub enum ParseError { enum
/third_party/rust/rust/src/tools/rustfmt/tests/target/
Dreorder-impl-items.rs12 pub fn parse(arg: &[u8]) -> Result<Command, ParseError> { in parse() argument
/third_party/rust/rust/src/tools/rustfmt/tests/source/
Dreorder-impl-items.rs12 pub fn parse(arg: &[u8]) -> Result<Command, ParseError> { in parse() argument
/third_party/rust/rust/tests/ui/resolve/
Dissue-112472-multi-generics-suggestion.rs13 pub enum ParseError {} enum
/third_party/rust/rust/compiler/rustc_parse_format/src/
Dlib.rs205 pub struct ParseError { struct
225 pub errors: Vec<ParseError>, argument
/third_party/protobuf/ruby/lib/google/
Dprotobuf.rb17 class ParseError < Error; end class
/third_party/protobuf/conformance/
Dconformance_rust.rs72 fn roundtrip<T: Message>(bytes: &[u8]) -> Result<Vec<u8>, ParseError> { in do_test() argument
/third_party/rust/rust/src/tools/clippy/tests/ui-toml/upper_case_acronyms_aggressive/
Dupper_case_acronyms.rs29 pub enum ParseError<T> { enum
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dupper_case_acronyms.rs28 pub enum ParseError<T> { enum
/third_party/rust/crates/nom/src/
Derror.rs16 pub trait ParseError<I>: Sized { trait
103 impl<I> ParseError<I> for (I, ErrorKind) { impl
121 impl<I> ParseError<I> for () { implementation
/third_party/mesa3d/src/panfrost/compiler/valhall/
Dasm.py33 class ParseError(Exception): class
/third_party/rust/crates/bindgen/bindgen/ir/
Dmodule.rs80 ) -> Result<ParseResult<Self>, ParseError> { in parse() argument
/third_party/python/Lib/lib2to3/pgen2/
Dparse.py16 class ParseError(Exception): class

123