remove associated_consts feature
This commit is contained in:
parent
c5f5620f77
commit
4daac50781
|
@ -17,8 +17,8 @@ Supported Python versions:
|
|||
|
||||
Supported Rust version:
|
||||
|
||||
* Rust 1.17.0-nightly or later
|
||||
* On Windows, we require rustc 1.17.0-nightly
|
||||
* Rust 1.19.0-nightly or later
|
||||
* On Windows, we require rustc 1.19.0-nightly
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -75,7 +75,7 @@ features = ["extension-module"]
|
|||
**`src/lib.rs`**
|
||||
|
||||
```rust
|
||||
#![feature(proc_macro, specialization, associated_consts)]
|
||||
#![feature(proc_macro, specialization)]
|
||||
|
||||
extern crate pyo3;
|
||||
use pyo3::{py, PyResult, Python, PyModule};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![feature(specialization, proc_macro, const_fn, associated_consts)]
|
||||
#![feature(specialization, proc_macro, const_fn)]
|
||||
|
||||
//! Rust bindings to the Python interpreter.
|
||||
//!
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#![allow(dead_code, unused_variables)]
|
||||
#![feature(proc_macro, specialization, associated_consts)]
|
||||
#![feature(proc_macro, specialization)]
|
||||
|
||||
extern crate pyo3;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![feature(proc_macro, specialization, associated_consts)]
|
||||
#![feature(proc_macro, specialization)]
|
||||
#![allow(dead_code, unused_variables)]
|
||||
|
||||
extern crate pyo3;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![feature(proc_macro, specialization, associated_consts)]
|
||||
#![feature(proc_macro, specialization)]
|
||||
#![allow(dead_code, unused_variables)]
|
||||
|
||||
extern crate pyo3;
|
||||
|
|
Loading…
Reference in a new issue