Skip to content

Commit 023fc05

Browse files
committed
v0: split existing const generics feature tests to more clearly reflect history.
1 parent 8a39eeb commit 023fc05

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/v0.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,13 +1095,17 @@ mod tests {
10951095
}
10961096

10971097
#[test]
1098-
fn demangle_const_generics() {
1098+
fn demangle_const_generics_preview() {
10991099
// NOTE(eddyb) this was hand-written, before rustc had working
11001100
// const generics support (but the mangling format did include them).
11011101
t_nohash_type!(
11021102
"INtC8arrayvec8ArrayVechKj7b_E",
11031103
"arrayvec::ArrayVec<u8, 123>"
11041104
);
1105+
}
1106+
1107+
#[test]
1108+
fn demangle_min_const_generics() {
11051109
t_nohash!(
11061110
"_RMCs4fqI2P2rA04_13const_genericINtB0_8UnsignedKhb_E",
11071111
"<const_generic::Unsigned<11>>"

0 commit comments

Comments
 (0)