Skip to content

Commit

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

#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 #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
matthiaskrgr committed Mar 1, 2023
2 parents a51006b + 229aef1 commit 3abc41a
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 3abc41a

Please sign in to comment.