1 error[E0658]: use of unstable library feature 'allocator_api'
2 --> $DIR/suggest-vec-allocator-api.rs:2:20
4 LL | let _: Vec<u8, _> = vec![];
7 | help: consider wrapping the inner types in tuple: `(u8, _)`
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
12 error[E0658]: use of unstable library feature 'allocator_api'
13 --> $DIR/suggest-vec-allocator-api.rs:6:9
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
20 help: consider wrapping the inner types in tuple
27 error[E0658]: use of unstable library feature 'allocator_api'
28 --> $DIR/suggest-vec-allocator-api.rs:8:26
30 LL | let _boxed: Box<u32, _> = Box::new(10);
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
36 error[E0658]: use of unstable library feature 'allocator_api'
37 --> $DIR/suggest-vec-allocator-api.rs:7:24
39 LL | let _ = Vec::<u16, _>::new();
42 | help: consider wrapping the inner types in tuple: `(u16, _)`
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
47 error: aborting due to 4 previous errors
49 For more information about this error, try `rustc --explain E0658`.