Closed
Description
struct Stats {
list: Vec<String, String>,
}
The Strings were supposed to be inside a tuple,
struct Stats {
list: Vec<(String, String)>,
}
but instead of a some kind of a mismatched argument number message, I got a warning about allocator_api
😅
Compiling playground v0.0.1 (/playground)
error[E0658]: use of unstable library feature 'allocator_api'
--> src/lib.rs:2:23
|
2 | list: Vec<String, String>,
| ^^^^^^
|
= note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information