Searched refs:error_spanned_by (Results 1 - 10 of 10) sorted by relevance
/third_party/rust/crates/serde/serde_derive_internals/src/ |
H A D | check.rs | 39 cx.error_spanned_by( in check_default_on_tuple() 71 cx.error_spanned_by(remote, "remove generic parameters from this path"); in check_remote_generic() 82 cx.error_spanned_by( in check_getter() 90 cx.error_spanned_by( in check_getter() 123 cx.error_spanned_by( in check_flatten_field() 129 cx.error_spanned_by( in check_flatten_field() 159 cx.error_spanned_by( in check_identifier() 167 cx.error_spanned_by( in check_identifier() 176 cx.error_spanned_by( in check_identifier() 185 cx.error_spanned_by( in check_identifier() [all...] |
H A D | attr.rs | 45 self.cx.error_spanned_by(tokens, msg); in set() 120 self.cx.error_spanned_by(dup_token, msg); in at_most_one() 340 Err(err) => cx.error_spanned_by(ser, err), in from_ast() 348 cx.error_spanned_by(de, err); in from_ast() 366 Err(err) => cx.error_spanned_by(ser, err), in from_ast() 376 cx.error_spanned_by(de, err); in from_ast() 430 cx.error_spanned_by(fields, msg); in from_ast() 710 cx.error_spanned_by(variant, msg); in decide_tag() 721 cx.error_spanned_by(untagged_tokens, msg); in decide_tag() 722 cx.error_spanned_by(tag_token in decide_tag() [all...] |
H A D | ctxt.rs | 31 pub fn error_spanned_by<A: ToTokens, T: Display>(&self, obj: A, msg: T) { in error_spanned_by() functions
|
H A D | ast.rs | 75 cx.error_spanned_by(item, "Serde does not support derive for unions"); 166 cx.error_spanned_by(&variant.ident, "all variants with the #[serde(untagged)] attribute must be placed at the end of the enum");
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
H A D | check.rs | 39 cx.error_spanned_by( in check_default_on_tuple() 71 cx.error_spanned_by(remote, "remove generic parameters from this path"); in check_remote_generic() 82 cx.error_spanned_by( in check_getter() 90 cx.error_spanned_by( in check_getter() 123 cx.error_spanned_by( in check_flatten_field() 129 cx.error_spanned_by( in check_flatten_field() 159 cx.error_spanned_by( in check_identifier() 167 cx.error_spanned_by( in check_identifier() 176 cx.error_spanned_by( in check_identifier() 185 cx.error_spanned_by( in check_identifier() [all...] |
H A D | attr.rs | 45 self.cx.error_spanned_by(tokens, msg); in set() 120 self.cx.error_spanned_by(dup_token, msg); in at_most_one() 340 Err(err) => cx.error_spanned_by(ser, err), in from_ast() 348 cx.error_spanned_by(de, err); in from_ast() 366 Err(err) => cx.error_spanned_by(ser, err), in from_ast() 376 cx.error_spanned_by(de, err); in from_ast() 430 cx.error_spanned_by(fields, msg); in from_ast() 710 cx.error_spanned_by(variant, msg); in decide_tag() 721 cx.error_spanned_by(untagged_tokens, msg); in decide_tag() 722 cx.error_spanned_by(tag_token in decide_tag() [all...] |
H A D | ctxt.rs | 31 pub fn error_spanned_by<A: ToTokens, T: Display>(&self, obj: A, msg: T) { in error_spanned_by() functions
|
H A D | ast.rs | 75 cx.error_spanned_by(item, "Serde does not support derive for unions"); 166 cx.error_spanned_by(&variant.ident, "all variants with the #[serde(untagged)] attribute must be placed at the end of the enum");
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | ser.rs | 65 cx.error_spanned_by(cont.original, "field identifiers cannot be serialized"); in precondition() 68 cx.error_spanned_by(cont.original, "variant identifiers cannot be serialized"); in precondition()
|
H A D | de.rs | 78 cx.error_spanned_by( in precondition_sized() 91 cx.error_spanned_by( in precondition_no_de_lifetime()
|
Completed in 9 milliseconds