Home
last modified time | relevance | path

Searched refs:unknown_variant (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/serde/test_suite/tests/expand/
Dvoid.expanded.rs62 _ => _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
77 _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
Dlifetimes.expanded.rs149 _ => _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
168 _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
Dgeneric_enum.expanded.rs172 _ => _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
191 _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
Dde_enum.expanded.rs330 _ => _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
351 _serde::__private::Err(_serde::de::Error::unknown_variant( in deserialize()
/third_party/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp444 static const char unknown_variant[] = "abc"; variable
474 ldn->variantDisplayName(unknown_variant, temp); in VerifySubstitute()
475 test_assert_equal(unknown_variant, temp); in VerifySubstitute()
527 ldn->variantDisplayName(unknown_variant, temp); in VerifyNoSubstitute()
/third_party/rust/crates/log/src/
Dserde.rs51 FromStr::from_str(s).map_err(|_| Error::unknown_variant(s, &LOG_LEVEL_NAMES[1..])) in deserialize()
146 FromStr::from_str(s).map_err(|_| Error::unknown_variant(s, &LOG_LEVEL_NAMES)) in deserialize()
/third_party/rust/crates/serde/serde/src/de/
Dimpls.rs1488 _ => Err(Error::unknown_variant(value, $variants_name)),
1502 Ok(value) => Err(Error::unknown_variant(value, $variants_name)),
2486 _ => Err(Error::unknown_variant(value, VARIANTS)), in deserialize()
2499 Ok(value) => Err(Error::unknown_variant(value, VARIANTS)), in deserialize()
2595 _ => Err(Error::unknown_variant(value, VARIANTS)), in deserialize()
2607 Ok(value) => Err(Error::unknown_variant(value, VARIANTS)), in deserialize()
Dmod.rs247 fn unknown_variant(variant: &str, expected: &'static [&'static str]) -> Self {
/third_party/rust/crates/serde/serde_derive/src/
Dde.rs2158 _serde::__private::Err(_serde::de::Error::unknown_variant(__value, VARIANTS)) in deserialize_identifier()