We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b42400c commit a84c65cCopy full SHA for a84c65c
llvm/lib/Demangle/RustDemangle.cpp
@@ -436,6 +436,11 @@ void Demangler::demangleType() {
436
demangleConst();
437
print("]");
438
break;
439
+ case 'S':
440
+ print("[");
441
+ demangleType();
442
+ print("]");
443
+ break;
444
default:
445
Position = Start;
446
demanglePath(InType::Yes);
llvm/test/Demangle/rust.test
@@ -160,6 +160,9 @@ CHECK: named::<Name<>>
160
CHECK: types::<[u8; 0]>
161
_RIC5typesAhj0_E
162
163
+CHECK: types::<[_]>
164
+ _RIC5typesSpE
165
+
166
; Integer constants. Test value demangling.
167
168
CHECK: integer::<0>
0 commit comments