Skip to content

Commit

Permalink
Rollup merge of rust-lang#108558 - RalfJung:core-tests, r=thomcc
Browse files Browse the repository at this point in the history
add missing feature in core/tests

rust-lang#104265 introduced the `ip_in_core` feature. For some reason core tests seem to still build without that feature -- no idea how that is possible. Might be related to rust-lang#15702? I was under the impression that `pub use` with different stability doesn't actually work. That's why `intrinsics::transmute` is stable, for example.

Either way, core tests fail to build in miri-test-libstd, and adding the feature fixes that.

r? `@thomcc`
  • Loading branch information
Dylan-DPC authored Feb 28, 2023
2 parents c0f9b23 + 229aef1 commit bb5d3bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
#![feature(slice_internals)]
#![feature(slice_partition_dedup)]
#![feature(ip)]
#![feature(ip_in_core)]
#![feature(iter_advance_by)]
#![feature(iter_array_chunks)]
#![feature(iter_collect_into)]
Expand Down

0 comments on commit bb5d3bb

Please sign in to comment.