about summary refs log tree commit diff
path: root/tests/codegen-llvm
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-06-11 11:32:57 +0000
committerOli Scherer <github@oli-obk.de>2025-09-23 10:59:29 +0000
commit739e89980f2c5602851c9271fd61f7381007e87a (patch)
tree0727b1b01e3865f24d6fd360aa3195a562348840 /tests/codegen-llvm
parentf6092f224d2b1774b31033f12d0bee626943b02f (diff)
downloadrust-739e89980f2c5602851c9271fd61f7381007e87a.tar.gz
rust-739e89980f2c5602851c9271fd61f7381007e87a.zip
Add proper name mangling for pattern types
Diffstat (limited to 'tests/codegen-llvm')
-rw-r--r--tests/codegen-llvm/pattern_type_symbols.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen-llvm/pattern_type_symbols.rs b/tests/codegen-llvm/pattern_type_symbols.rs
index e86a9ef27de..a90262ff12d 100644
--- a/tests/codegen-llvm/pattern_type_symbols.rs
+++ b/tests/codegen-llvm/pattern_type_symbols.rs
@@ -16,7 +16,7 @@ pub fn bar() {
     // CHECK: call pattern_type_symbols::foo::<u32>
     // CHECK: call void @_RINvC[[CRATE_IDENT:[a-zA-Z0-9]{12}]]_20pattern_type_symbols3foomEB2_
     foo::<u32>();
-    // CHECK: call pattern_type_symbols::foo::<(u32, [(); 0], [(); 999999999])>
-    // CHECK: call void @_RINvC[[CRATE_IDENT]]_20pattern_type_symbols3fooTmAum0_Aum3b9ac9ff_EEB2_
+    // CHECK: call pattern_type_symbols::foo::<u32 is 0..=999999999>
+    // CHECK: call void @_RINvC[[CRATE_IDENT]]_20pattern_type_symbols3fooWmRm0_m3b9ac9ff_EB2_
     foo::<NanoU32>();
 }