fixed going over 100 chars in line

This commit is contained in:
Jake Vossen 2020-10-03 13:12:08 -06:00
parent 3ea96b86ab
commit 018d587bc1

View File

@ -2067,7 +2067,9 @@ define_print_and_forward_display! {
p!("the trait `", print_def_path(trait_def_id, &[]), "` is object-safe")
}
ty::PredicateAtom::ClosureKind(closure_def_id, _closure_substs, kind) => {
p!("the closure `", print_value_path(closure_def_id, &[]), write("` implements the trait `{}`", kind))
p!("the closure `",
print_value_path(closure_def_id, &[]),
write("` implements the trait `{}`", kind))
}
ty::PredicateAtom::ConstEvaluatable(def, substs) => {
p!("the constant `", print_value_path(def.did, substs), "` can be evaluated")