We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f384a3 commit f4af776Copy full SHA for f4af776
compiler/rustc_borrowck/src/region_infer/graphviz.rs
@@ -12,6 +12,9 @@ use rustc_middle::ty::UniverseIndex;
12
use super::*;
13
14
fn render_outlives_constraint(constraint: &OutlivesConstraint<'_>) -> String {
15
+ if let ConstraintCategory::IllegalPlaceholder(from, to) = constraint.category {
16
+ return format!("b/c {from:?}: {to:?}");
17
+ }
18
match constraint.locations {
19
Locations::All(_) => "All(...)".to_string(),
20
Locations::Single(loc) => format!("{loc:?}"),
0 commit comments