Closed
Description
error: mismatched types: expected
core::option::Option<alloc::arc::Arc<std::collections ::hash::map::HashMap<&'static str, alloc::arc::Arc<collections::vec::Vec<item::Item>>>>>
,
foundcore::option::Option<alloc::arc::Arc<std::collections::hash::map::HashMap<&str, alloc::arc::Arc<collections::vec::Vec<&generator::Job>>>>>
would be much more readable as
error: mismatched types: expected
Option<Arc<HashMap<&'static str, Arc<Vec<Item>>>>>
,
foundOption<Arc<HashMap<&str, Arc<Vec<&Job>>>>>
One possibility is to use the names in scope where the type error appears. In any event, we should make sure none of the unqualified names in a given error are ambiguous.