- Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
A-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regions
Description
As far as I can see it, the region and slice systems make it impossible to use a send_map<&str,V>, unless you're only comparing static strings. The problem, as far as I can see it, is that find() wants to take its argument by reference, so the region checker requires invariance somehow and borrow check errors happen.
@nikomatsakis, thoughts? Maybe we need a separate StringMap type.
Metadata
Metadata
Assignees
Labels
A-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regions