mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:16:14 +03:00
add required imports & feature
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
use std::fmt;
|
||||
use std::mem;
|
||||
use std::collections::range::RangeArgument;
|
||||
use std::collections::Bound::{Excluded, Included, Unbounded};
|
||||
|
||||
pub unsafe trait Array {
|
||||
type Element;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#![feature(shared)]
|
||||
#![feature(collections_range)]
|
||||
#![feature(collections_bound)]
|
||||
#![feature(nonzero)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(staged_api)]
|
||||
|
||||
Reference in New Issue
Block a user