Link lifetimes of autoslice'd vectors (Issue #3184)

Fixes #5739.
auto merge of #5740 : nikomatsakis/rust/issue-5739-reborrowed-slices, r=catamorphism

r? @catamorphism (just the last commit)

This is a minor patch to #3184 (which you also reviewed), needed for #5656