Skip to content

Commit

Permalink
chore: update the target compiler version to nightly-2020-07-07
Browse files Browse the repository at this point in the history
`const_if_match` and `const_loop` have been stabilized by
<rust-lang/rust#72437>.
  • Loading branch information
yvt committed Jul 9, 2020
1 parent 01dfc5d commit 16ed714
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions examples/basic/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#![feature(const_loop)]
#![feature(const_fn)]
#![feature(const_if_match)]
#![feature(const_mut_refs)]
#![feature(unsafe_block_in_unsafe_fn)] // `unsafe fn` doesn't imply `unsafe {}`
#![deny(unsafe_op_in_unsafe_fn)]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-06-24
nightly-2020-07-07
2 changes: 0 additions & 2 deletions src/constance/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#![feature(external_doc)] // `#[doc(include = ...)]`
#![feature(const_fn)]
#![feature(const_if_match)]
#![feature(const_panic)]
#![feature(const_loop)]
#![feature(const_generics)]
#![feature(const_ptr_offset)]
#![feature(const_mut_refs)]
Expand Down
2 changes: 0 additions & 2 deletions src/constance_port_std/tests/test_suite.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! Runs test cases defined in `constance_test_suite`.
#![feature(const_loop)]
#![feature(const_if_match)]
#![feature(never_type)]
#![feature(const_mut_refs)]
#![feature(const_fn)]
Expand Down
2 changes: 0 additions & 2 deletions src/constance_test_suite/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#![feature(external_doc)] // `#[doc(include = ...)]`
#![feature(const_loop)]
#![feature(const_fn)]
#![feature(const_if_match)]
#![feature(unsafe_block_in_unsafe_fn)] // `unsafe fn` doesn't imply `unsafe {}`
#![deny(unsafe_op_in_unsafe_fn)]
#![doc(include = "./lib.md")]
Expand Down

0 comments on commit 16ed714

Please sign in to comment.