Skip to content

Remove a test that never runs #140155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove a test that never runs
The coretests crate doesn't have the debug_typeid feature, so this test
will always be configured out.
  • Loading branch information
bjorn3 committed Apr 22, 2025
commit cf9fe079ffb0032bbe80645abb4310158a9a06d0
8 changes: 0 additions & 8 deletions library/coretests/tests/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ fn any_unsized() {
is_any::<[i32]>();
}

#[cfg(feature = "debug_typeid")]
#[test]
fn debug_typeid_includes_name() {
let type_id = TypeId::of::<[usize; 2]>();
let debug_str = format!("{type_id:?}");
assert!(debug_str.ends_with("= [usize; 2])"), "{debug_str:?} did not match");
}

#[test]
fn distinct_type_names() {
// https://github.com/rust-lang/rust/issues/84666
Expand Down
Loading