-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-allocatorsArea: Custom and system allocatorsArea: Custom and system allocatorsA-collectionsArea: `std::collections`Area: `std::collections`A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints
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
Metadata
Metadata
Assignees
Labels
A-allocatorsArea: Custom and system allocatorsArea: Custom and system allocatorsA-collectionsArea: `std::collections`Area: `std::collections`A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints