Skip to content

Commit 53d3c89

Browse files
authored
Dont bug! on user error
1 parent 696f5c1 commit 53d3c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/infer/region_inference/graphviz.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub fn maybe_print_constraints_for<'a, 'gcx, 'tcx>(
9191
};
9292

9393
if output_template.is_empty() {
94-
bug!("empty string provided as RUST_REGION_GRAPH");
94+
panic!("empty string provided as RUST_REGION_GRAPH");
9595
}
9696

9797
if output_template.contains('%') {

0 commit comments

Comments
 (0)