Skip to content

Commit cf9fe07

Browse files
committed
Remove a test that never runs
The coretests crate doesn't have the debug_typeid feature, so this test will always be configured out.
1 parent 9bfa31f commit cf9fe07

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/coretests/tests/any.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,6 @@ fn any_unsized() {
118118
is_any::<[i32]>();
119119
}
120120

121-
#[cfg(feature = "debug_typeid")]
122-
#[test]
123-
fn debug_typeid_includes_name() {
124-
let type_id = TypeId::of::<[usize; 2]>();
125-
let debug_str = format!("{type_id:?}");
126-
assert!(debug_str.ends_with("= [usize; 2])"), "{debug_str:?} did not match");
127-
}
128-
129121
#[test]
130122
fn distinct_type_names() {
131123
// https://github.com/rust-lang/rust/issues/84666

0 commit comments

Comments
 (0)