]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/suggest-vec-allocator-api.stderr
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / stability-attribute / suggest-vec-allocator-api.stderr
1 error[E0658]: use of unstable library feature 'allocator_api'
2   --> $DIR/suggest-vec-allocator-api.rs:2:20
3    |
4 LL |     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
12 error[E0658]: use of unstable library feature 'allocator_api'
13   --> $DIR/suggest-vec-allocator-api.rs:6:9
14    |
15 LL |         _> = 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
20 help: consider wrapping the inner types in tuple
21    |
22 LL ~     let _: Vec<(
23 LL +         String,
24 LL ~         _)> = vec![];
25    |
26
27 error[E0658]: use of unstable library feature 'allocator_api'
28   --> $DIR/suggest-vec-allocator-api.rs:8:26
29    |
30 LL |     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
36 error[E0658]: use of unstable library feature 'allocator_api'
37   --> $DIR/suggest-vec-allocator-api.rs:7:24
38    |
39 LL |     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
47 error: aborting due to 4 previous errors
48
49 For more information about this error, try `rustc --explain E0658`.