Fix inverted panic check
This commit is contained in:
parent
512069f8e5
commit
e1837a0d1a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ pub fn push_debuginfo_type_name<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>,
|
|||
// Since we need to generate *something*, we just
|
||||
// use a dummy string that should make it clear
|
||||
// that something unusual is going on
|
||||
if visited.insert(t) {
|
||||
if !visited.insert(t) {
|
||||
output.push_str("<recursive_type>");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue