use super::UniversalAnswer;
pub(super) fn human_line(answer: &UniversalAnswer) -> String {
match answer {
UniversalAnswer::Kind { .. } => "the kind this output is",
UniversalAnswer::Owner { .. } => "the owner fact that required this output",
UniversalAnswer::CausingDeclarations { .. } => {
"the declarations this output was derived from"
}
UniversalAnswer::Profile { .. } => "the profile this output was decided under",
UniversalAnswer::OutputAndDigest { .. } => {
"every planned member in roster order, and the digest proved over each one's rendered bytes"
}
UniversalAnswer::Assumptions { .. } => "the owner facts this output rests on",
UniversalAnswer::Invalidators { .. } => {
"the watched things whose change makes this output stale"
}
UniversalAnswer::RelatedDispositions { .. } => {
"what happened to every related kind, and why"
}
UniversalAnswer::Repairs { .. } => "the owner-declared repairs that apply",
}
.to_owned()
}