Searched refs:insert_or_error (Results 1 – 5 of 5) sorted by relevance
/development/tools/external_crates/crate_health_proc_macros/src/ |
D | lib.rs | 54 … fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in expand() 55 self.#mapfield_name.insert_or_error(key, val) in expand()
|
/development/tools/external_crates/crate_health/src/ |
D | crate_collection.rs | 48 Ok(krate) => self.crates.insert_or_error( in add_from()
|
D | name_and_version_map.rs | 29 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError>; in insert_or_error() method 76 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in insert_or_error() method 176 test_map.insert_or_error(NameAndVersion::try_from_str(name, version)?, val)?; in try_name_version_map_from_iter()
|
D | version_match.rs | 53 vm.compatibility.insert_or_error(nv.to_owned(), None)?; in new() 67 vm.compatibility.insert_or_error(nv.to_owned(), compatibility)?; in new() 206 results.insert_or_error(NameAndVersion::from(pair.dest), pair.diff_android_bps()?)?; in diff_android_bps()
|
D | android_bp.rs | 49 results.insert_or_error(NameAndVersion::new(crate_name, crate_version), result?)?; in generate_android_bps()
|