Skip to content

Commit

Permalink
Auto merge of #1679 - hyd-dev:min-const-generics, r=RalfJung
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jan 17, 2021
2 parents 7e3af26 + 9949d9e commit ba244e3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
#![warn(rust_2018_idioms)]
#![allow(clippy::cast_lossless)]

#![allow(incomplete_features)]
#![feature(const_generics)]

extern crate rustc_attr;
extern crate rustc_apfloat;
extern crate rustc_ast;
Expand Down

0 comments on commit ba244e3

Please sign in to comment.