Upgrade Rust problems to use new slicing syntax.