| 19 | use crate::utils::anymap::AnyMap; |
| 20 | |
| 21 | pub(crate) trait Query: 'static { |
| 22 | const NAME: &'static str; |
| 23 | |
| 24 | type Key<'tcx>: DynSend + DynSync; |
| 25 | type Value<'tcx>: DynSend + DynSync; |
| 26 | } |
| 27 | |
| 28 | pub(crate) trait QueryValueDecodable: Query { |
| 29 | fn encode_value<'tcx>(value: &Self::Value<'tcx>, cx: &mut crate::serde::EncodeContext<'tcx>); |
nothing calls this directly
no outgoing calls
no test coverage detected