Skip to content

Commit ba244e3

Browse files
committed
Auto merge of #1679 - hyd-dev:min-const-generics, r=RalfJung
Remove `#![feature(const_generics)]` and `#![allow(incomplete_features)]` `#![feature(min_const_generics)]` has been [stabilized](rust-lang/rust#79135), so I removed `#![feature(const_generics)]` and `#![allow(incomplete_features)]` (I assume Miri is not built by the beta bootstrap compiler so it's fine to just remove them). The test [`tests/run-pass/specialization.rs` also has a `#![allow(incomplete_features)]` for `#![feature(specialization)]`](https://github.com/rust-lang/miri/blob/9949d9e4/tests/run-pass/specialization.rs#L1-L2). I think that can be removed and `#![feature(specialization)]` can be replaced with `#![feature(min_specialization)]`, but I'm not sure whether I should do that because it's a test. Feel free to ask me to remove it if it's fine to do so.
2 parents 7e3af26 + 9949d9e commit ba244e3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#![warn(rust_2018_idioms)]
99
#![allow(clippy::cast_lossless)]
1010

11-
#![allow(incomplete_features)]
12-
#![feature(const_generics)]
13-
1411
extern crate rustc_attr;
1512
extern crate rustc_apfloat;
1613
extern crate rustc_ast;

0 commit comments

Comments
 (0)