fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: use of unstable library feature 'allocator_api' 2 --> $DIR/suggest-vec-allocator-api.rs:2:20 3 | 4LL | let _: Vec<u8, _> = vec![]; 5 | ----^ 6 | | 7 | help: consider wrapping the inner types in tuple: `(u8, _)` 8 | 9 = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information 10 = help: add `#![feature(allocator_api)]` to the crate attributes to enable 11 12error[E0658]: use of unstable library feature 'allocator_api' 13 --> $DIR/suggest-vec-allocator-api.rs:6:9 14 | 15LL | _> = vec![]; 16 | ^ 17 | 18 = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information 19 = help: add `#![feature(allocator_api)]` to the crate attributes to enable 20help: consider wrapping the inner types in tuple 21 | 22LL ~ let _: Vec<( 23LL + String, 24LL ~ _)> = vec![]; 25 | 26 27error[E0658]: use of unstable library feature 'allocator_api' 28 --> $DIR/suggest-vec-allocator-api.rs:8:26 29 | 30LL | let _boxed: Box<u32, _> = Box::new(10); 31 | ^ 32 | 33 = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information 34 = help: add `#![feature(allocator_api)]` to the crate attributes to enable 35 36error[E0658]: use of unstable library feature 'allocator_api' 37 --> $DIR/suggest-vec-allocator-api.rs:7:24 38 | 39LL | let _ = Vec::<u16, _>::new(); 40 | -----^ 41 | | 42 | help: consider wrapping the inner types in tuple: `(u16, _)` 43 | 44 = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information 45 = help: add `#![feature(allocator_api)]` to the crate attributes to enable 46 47error: aborting due to 4 previous errors 48 49For more information about this error, try `rustc --explain E0658`.